-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
non-root podman not able to ping external services (limited net capability) #2488
Comments
Can you enable @giuseppe Slirp supports arbitrary traffic, right, not just TCP/UDP? |
this is a known problem that we have documented here: https://github.com/containers/libpod/blob/master/troubleshooting.md#5-rootless-containers-cannot-ping-hosts |
ping for an unprivileged user works because it is a file caps binary, but we don't have that in the container. We need root to enable access to ICMP for unprivileged users |
Can we turn on the icmp boolean then it would work. If you enable this sysctl does it work? |
If yes, then we should document this. |
@rhatdan, we already have that in the troubleshooting.md file. Do you think we should add something more? |
Should be in the man page for podman run, I would guess. |
@rhatdan Should we start a podman-rootless manpage for rootless-specific things like this, the newuidmap errors, etc? |
Well you would have to reference it from the other man pages. But I am fine with that. Just realize that the average user executing podman commands does not know that we call this rootless. So they would not know where to find the man page. |
I think some of the information in troubleshoot.md needs to be added to the podman run/create man pages. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Non-root podman not able to ping external services (limited net capability).
Steps to reproduce the issue:
Output of
podman version
:The text was updated successfully, but these errors were encountered: