Rootless podman in rootless podman running server permission denied #22789
DomenPigeon
started this conversation in
General
Replies: 1 comment 4 replies
-
The podman image uses --network=host as default for its containers and because you run as normal users it cannot bind a privileged port. So either you set --network bridge and forward a port or you can set In any case this is not bug so I move it to a discussion. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
Rootless podman in rootless podman doesn't allow ports when running a container.
Steps to reproduce the issue
podman run --security-opt label=disable --user podman -it --device /dev/fuse quay.io/podman/stable podman run docker.io/library/nginx
Describe the results you received
Describe the results you expected
Nginx would start normally and run.
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
I have tried this on WSL2, Ubuntu with different versions of podman but the result was always the same. For this issue I have also tried on fedora with latest podman to see if it was and OS problem, but the result was the same.
Tried also witha appache httpd but the result was the same.
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Beta Was this translation helpful? Give feedback.
All reactions