folak@lemmy.world to Selfhosted@lemmy.worldEnglish · 11 months agoDocker vs Podman, which one to choose for a beginner and why ?message-squaremessage-square49fedilinkarrow-up161arrow-down12
arrow-up159arrow-down1message-squareDocker vs Podman, which one to choose for a beginner and why ?folak@lemmy.world to Selfhosted@lemmy.worldEnglish · 11 months agomessage-square49fedilink
minus-squareSheeEttin@lemmy.worldlinkfedilinkEnglisharrow-up6arrow-down5·11 months agoWhichever one is better supported by the containers you want to run.
minus-squarekrolden@lemmy.mllinkfedilinkEnglisharrow-up6arrow-down2·11 months agoThey both support the same containers
minus-squarelemmyvore@feddit.nllinkfedilinkEnglisharrow-up2arrow-down4·11 months agoExcept in real life you'll run into images that podman refuses to work with all the time.
minus-squarekrolden@lemmy.mllinkfedilinkEnglisharrow-up2·11 months 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-squarelemmyvore@feddit.nllinkfedilinkEnglisharrow-up3·11 months 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-squarevegetaaaaaaa@lemmy.worldlinkfedilinkEnglisharrow-up7·edit-211 months agoYou use podman unshare to chown the directories to the appropriate UID/GID in the container's user namespace.
minus-squarenickwitha_k (he/him)@lemmy.sdf.orglinkfedilinkEnglisharrow-up4·11 months 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.