Hi All,
Quick docker container question, it would be useful to be able to ping from inside a docker container on a peplink modem, i have tested this and it seems to be unsupported. There also doesnt seem to be an exposed API for utilising the ping tool from the browser interface. Has anyone had any experience or workaround for this? When a ping is attempted from inside a container I recieve: permission_denied
“permission_denied” from ping inside a container is usually a capability issue rather than a Peplink restriction: the container needs CAP_NET_RAW, or an unprivileged ICMP range set on the host. Try running the container with –cap-add=NET_RAW (cap_add: - NET_RAW in compose), or –privileged as a quick test to confirm. If that fixes it, keep the narrow capability rather than privileged. Also check the image actually includes ping (iputils-ping); some minimal images omit it or ship a busybox build with reduced permissions.