Replies: 1 comment
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to configure podman to provide a shared image storage between root-less users within the host but failed. I don't care if root user works.
user0 is sudo user, user1 and user2 are root-less users. All shells are ssh-ed with corresponding username directly (i.e. not by
su
).The configurations:
user0@test:/home/user1$ cd /etc/containers/ user0@test:/etc/containers$ ls libpod.conf policy.json registries.conf registries.conf.d user0@test:/etc/containers$ user0@test:/etc/containers$ id uid=1000(user0) gid=1000(user0) groups=1000(user0),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd) user0@test:/etc/containers$
user1@test:~$ podman version Version: 3.4.4 API Version: 3.4.4 Go Version: go1.18.1 Built: Thu Jan 1 00:00:00 1970 OS/Arch: linux/amd64
Seemed the debug log said the configuration of user2 did not take effect
Then what's the expected configurations for this requirement?
Thank you very much!
Edit on 29th Sep.
I removed podman -> removed /var/lib/sharedimages -> removed /var/lib/containers -> removed /home/user1/.config/containers/storage.conf -> removed /home/user2/.config/container/stoarge.conf -> reboot host -> reinstalled podman -> recreated /var/lib/sharedimages and /var/lib/container
Then user1
Beta Was this translation helpful? Give feedback.
All reactions