Rootless podman in podman works locally but not in k8s #24078
Unanswered
CarelGreyling
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I am trying to get a rootless podman container running in another (rootless) container. The outer container runs as the jenkins user and is meant to be where I build and test our containerized services. The outer container is meant to run in a k8s cluster using cri-o as container runtime.
I am able to successfully run the outer container and run inner containers as the jenkins user when running it locally using podman. But run into permission issues when running the exact same container in the k8s cluster. What is also strange is that there are differing permissions for the overlay directory in runRoot between the 2 instances even though they run the exact same image. Changing graphDriver to vfs seem to have the same issues.
K8S outputs
Running container
runRoot and graphRoot/overlay ls -l
podman info
k8s manifest
Local outputs
Running container
runRoot and graphRoot/overlay ls -l
Podman info
Beta Was this translation helpful? Give feedback.
All reactions