-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
podman official docker image failed at "error creating runtime static files directory" #10460
Comments
@rhatdan Another podman-in-container |
Please show us the docker command you are executing? For now you need to execute --privileged. |
@rhatdan Thank you for your hint. That means I have to run podman as root. but I do want to run podman as rootless. Is is possible to run podman docker as rootless? |
I made it work by using the Dockerfile below,
Then, I deployed the image to k8s using the pod.yaml below,
So far, the only annoying thing is the warning " |
That should be fixed in podman 3.2. |
@rhatdan Thank you for updating. I am good for now. but it seems to be an issue that root is the ower of /home/podman/.local/share/containers/storage, which prevent podman to run as rootless. Workaround below works, but it is a hack.
|
|
I build a docker image using the Dockerfile below,
When I run the image, enter the container shell and run the command "podman info", I got the following error.
As far as I know, the /home/podman/.local is under root user. Does anyone have suggestion?
The text was updated successfully, but these errors were encountered: