@folak@lemmy.world to Selfhosted@lemmy.worldEnglish • 2 years agoDocker vs Podman, which one to choose for a beginner and why ?message-square48arrow-up167
arrow-up167message-squareDocker vs Podman, which one to choose for a beginner and why ?@folak@lemmy.world to Selfhosted@lemmy.worldEnglish • 2 years agomessage-square48
minus-squarelemmyvorelinkfedilinkEnglish2•2 years agoHow do you make podman run an image that runs as an uid/gid that don’t exist on the host and needs to access host devices/volumes owned by uid/gid that don’t exist in the container?
minus-square@vegetaaaaaaa@lemmy.worldlinkfedilinkEnglish9•edit-22 years agoYou use podman unshare to chown the directories to the appropriate UID/GID in the container’s user namespace.
minus-squarenickwitha_k (he/him)linkfedilinkEnglish4•2 years agoThis right here. Just found out about this last week after a long debug.
How do you make podman run an image that runs as an uid/gid that don’t exist on the host and needs to access host devices/volumes owned by uid/gid that don’t exist in the container?
You use podman unshare to
chown
the directories to the appropriate UID/GID in the container’s user namespace.This right here. Just found out about this last week after a long debug.