Rootless podman built using rootless podman is unable to run containers #18300
Replies: 6 comments
-
For context:
I think the file permissions are wrong
When I run podman in v3 image, folder permissions are as follows:
|
Beta Was this translation helpful? Give feedback.
-
From the podman info above it looks like you are trying to run rootless container on a rootful congainers/storage? graphRoot: /var/lib/containers/storage This should be something like: /home/jenkins/.local/share/containers/storage |
Beta Was this translation helpful? Give feedback.
-
@rhatdan |
Beta Was this translation helpful? Give feedback.
-
I ran podman with the For problematic rootless podman, st_gid is set to
Whereas for working rootless podman, correct value for st_gid is being passed
|
Beta Was this translation helpful? Give feedback.
-
Root is not mapped to within the user namespace, which is probably causing the issue. This definitely does not look like a bug in Podman, since you have a funky setup so I am moving this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
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
We have 3 different podman images:
output of capsh --print
for v2:
for v3:
storage.conf
Steps to reproduce the issue
Steps to reproduce the issue
Dockerfile
Describe the results you received
Describe the results you expected
Podman (rootless podman image built using rootless podman) should be able to run the container
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
Its running on kubenetes
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