@folak to SelfhostedEnglish • 1 year agoDocker vs Podman, which one to choose for a beginner and why ?message-square54arrow-up170arrow-down13
arrow-up167arrow-down1message-squareDocker vs Podman, which one to choose for a beginner and why ?@folak to SelfhostedEnglish • 1 year agomessage-square54
minus-square@SheeEttinlinkEnglish1•1 year agoWhichever one is better supported by the containers you want to run.
minus-squarelemmyvorelinkfedilinkEnglish-2•1 year agoExcept in real life you’ll run into images that podman refuses to work with all the time.
minus-squarekroldenlinkfedilinkEnglish2•1 year agoExample? Ive definitely had compose projects that I had a hard time running with podman but all the individual containers seem to work just fine.
minus-squarelemmyvorelinkfedilinkEnglish3•1 year 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@vegetaaaaaaalinkEnglish8•edit-21 year 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•1 year agoThis right here. Just found out about this last week after a long debug.
Whichever one is better supported by the containers you want to run.
They both support the same containers
Except in real life you’ll run into images that podman refuses to work with all the time.
Example? Ive definitely had compose projects that I had a hard time running with podman but all the individual containers seem to work just fine.
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.