Rootless Containers with Podman (blog.nviso.eu)
from sv1sjp@lemmy.world to selfhosted@lemmy.world on 03 Feb 08:54
https://lemmy.world/post/42596452

#selfhosted

threaded - newest

_Nico198X_@europe.pub on 03 Feb 09:05 next collapse

LOVE podman

lambalicious@lemmy.sdf.org on 03 Feb 13:14 next collapse

It’s pretty great, and I like that the workflow for creating containers is sliiiightly easier than on Docker. I switched from Docker to Podman for most stuff about a year ago and so far there are only two hiccups that I lament:

  • the higher disk consumption due to not being able to share image storage. (I’ve tried with additionalstorages but that seems to only be respected for podman run; podman build and podman compose seem to ignore it and always pull images from the registries)

  • Some annoying isses with fule permissions due to rootless design - running rootless containers will create files under your user storage that you as a user have no permission to transfer or remove for cleanup or security, and severely breaks the output of tools like du or find due to error spammage.

Jayjader@jlai.lu on 03 Feb 23:04 collapse

In case you omitted the following out of ignorance and not by deliberate choice:

podman unshare can be used to (mostly) painlessly access the files created by rootless podman.

flango@lemmy.eco.br on 03 Feb 13:58 collapse

Great overview

sv1sjp@lemmy.world on 03 Feb 16:25 collapse

Thank you🚀🚀