-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ping: permission denied (are you root?) #253
Labels
Comments
michaeljs1990
added a commit
to michaeljs1990/phpipam
that referenced
this issue
Feb 9, 2017
You need to set see for example: https://sturmflut.github.io/linux/ubuntu/2015/01/17/unprivileged-icmp-sockets-on-linux/ |
Alternatively, you can install the |
odinuv
added a commit
to keboola/docker-bundle
that referenced
this issue
May 21, 2018
odinuv
added a commit
to keboola/docker-bundle
that referenced
this issue
Jun 2, 2018
…docker-alpine#253 (cherry picked from commit 3661326)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't run ping if i am not the root user. In my case I am running a program that is running ping as the apache user. The service is started with a uid of 0 however the apache user is not able to run ping.
an easy fix is
chmod u+s /bin/ping
however I feel like this should be something that makes it's way upstream.To reproduce you can do build this dockerfile https://github.com/michaeljs1990/phpipam/blob/dockerfile/Dockerfile and then exec into it make a lol.php file in the working dir and use this script.
and go go lol.php.
The text was updated successfully, but these errors were encountered: