r/ProgrammerHumor • • Sep 05 '26

Meme memorySafeDocker

Post image
4.2k Upvotes

278 comments sorted by

View all comments

Show parent comment

58

u/ineyy Sep 05 '26

Anyone with a lot of experience with this? I had mixed feelings, it felt slower at times for some reason, maybe network is handled differently. Then I ran into some weird issues, and I didn't know if it was a a difference between podman and docker, or just some anomaly so I gave up and switched back to docker engine.

105

u/Deathisfatal Sep 05 '26

Podman uses rootless containers with the current user's privileges by default, whereas docker runs everything under a single daemon that runs as root with full permission to access everything. Some things which work out of the box with docker don't work as easily with podman because of this but there are often workarounds that just take a bit of effort or configuration

14

u/PositiveBit01 Sep 05 '26

I think podman is much better with sane defaults.

I also don't use it, because everybody already has docker compose setups that assume docker and I got tired of fiddling with anything I wanted to run that I didn't write myself.

9

u/slaymaker1907 Sep 05 '26

The biggest problem I’ve run into at work with it is that running containers seems to allocate some mystery disk usage that can’t be cleaned up except with either root or forcing Podman to remove everything: all containers, images, etc. Just stopping and removing things one at a time will not work.

3

u/Grubs01 Sep 06 '26

From volumes? You can use podman unshare to deal with those rather than sudo.

1

u/slaymaker1907 Sep 06 '26

Thanks, I’ll have to give that a go when I get back to work.