-
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
rootless permissions #20045
Comments
First can you configure your storage.conf file to use overlay, not vfs? Are you on Debian? Second is your homedir local or NFS? |
why is it failing to write to |
yes i am on a clean debian install, how do i configure that storage.conf?
|
cp /usr/share/containers/storage.conf /etc/containers/storage.conf and then edit the storage.conf |
That file is not provided on debian bookworm package. It looks like that the package that provides storage.conf on debian is containers-storage. Maybe it should be a dependency for podman... |
Allrigh I have been trying on my fedora install aswell and I allways get the same results. I tried compying the storage.conf on both debian and fedora and no luck starting the container. I also tried to use distrobox and I get the same problem.
EDIT: jsut for the scope of testing i tried using docker instead of podman and everythign works with it, |
anyone got any suggestions? |
are you able to run
are you running rootless Docker? |
mkdir: created directory '/var/tmp/storage3641978907' and yes rootless docker works |
does it work if you create the container manually without distrobox? I am not familiar with distrobox, please provide the podman command line that causes that issue, I am still not able to reproduce locally |
can you please run something like and attach here the |
I've just tried on a fresh Debian 12 machine:
and I cannot reproduce the problem. distrobox works as well:
|
strace.log |
Same issue here, but I get
instead. |
A friendly reminder that this issue had no activity for 30 days. |
I seem to have the same issue (Ubuntu 22.04) and I haven't found a cause or a fix... |
I would open this as a new issue, I think this issue was either fixed naturally or people moved on. |
I don't want to be that user that says "Solved the problem" without saying how, so here is what was the issue in my case. The first |
Issue Description
Been trying to use rootless podman the whole day and i always encounter issues with permissions.
podman version
Client: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.19.8
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
Steps to reproduce the issue
Steps to reproduce the issue
1.podman run 'docker.io/alpine:latest'
2.
3.
Describe the results you received
podman run 'docker.io/alpine:latest'
Trying to pull docker.io/library/alpine:latest...
Error: initializing destination containers-storage:[vfs@/home/invra/.local/share/containers/storage+/run/user/1000/containers]docker.io/library/alpine:latest: creating a temporary directory: mkdir /var/tmp/storage3641978907: permission denied
Describe the results you expected
run the container
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: