Podman: A Daemonless Container Engine
41–50 of 250 posts
Re: Podman: A Daemonless Container Engine
#42Earlier quoted context omitted.
So Docker supports live restore https://docs.docker.com/config/containers/live-restore/ which addresses the first point. Second point, yep if you run Docker as root and someone can access the socket file they get root. If that's a concern, you can run Docker rootless. And as we're talking file permissions on a local host to allow that access, the same applies to podman containers does it not? If there are permission…
Rootless Docker is basically a joke, I've tried to run production workloads on it for about a year before I gave up. Numerous docker images will refuse to work, a bunch of things will subtly fill your error logs with warnings and it doesn't mesh well with running docker swarm at all.
As to swarm, I was comparing Docker rootless to podman, which is more a developer use case than prod. container clusters.
Re: Podman: A Daemonless Container Engine
#43Anyone have experience with this? I love the idea of it being daemonless.
I used Arch Linux and followed their docs[1], mainly because I wanted it to also run without root. Big mistake. Attempting to run a simple postgres database w/ and w/o root permissions for Podman resulted in my system getting into an inconsistent state. I was unable to relaunch the container due to the state of my system.
I mucked around with runc/crun and I ended up literally nuking both the root and non-root directories that stored them on my computer. I reset my computer back to Podman for root only, hoping that I had just chosen a niche path. It still would leave my system broken, requiring drastic measures to recover. No thanks.
After much debugging, finally switching back to Docker, I realized my mistake: I had forgotten a required environment variable. Silly mistake.
Docker surfaced the problem immediately. Podman did not.
Docker recovered gracefully from the error. Podman left my system in an inconsistent state, unable to relaunch the container and unable to remove it
Again, I'm not sure how much of my experience was just trying to force Podman into a square hole? I'm sure there are other people that make it work just fine for their use cases
Edit: I should note that I used it as a docker-compose replacement, which is probably another off-the-beaten path usage that made this more dramatic than it should have been
Re: Podman: A Daemonless Container Engine
#44What does being "daemonless" actually buy me in practice?
Re: Podman: A Daemonless Container Engine
#45Anyone have experience with this? I love the idea of it being daemonless.
That makes it much more convenient for build environments, without having to hard-code user IDs both in the container and on the host.
Re: Podman: A Daemonless Container Engine
#46Under the covers, both podman AND docker use runc. Redhat is writing a new version named "crun" which is lower overhead and faster: https://github.com/containers/crun
Re: Podman: A Daemonless Container Engine
#47Sincere question: why would I want to use Podman over Docker? What does being "daemonless" actually buy me in practice?
rhel ~forces you to do podman in rhel 8+. They make it hard enough to do a docker install that corp policies will reject docker (non-standard centos 7 repos etc), while allowing ibm's thing. Ex: Locks podman over docker for a lot of US gov where rhel 8 is preferred and with only standard repos, and anything else drowns in special approvals.
subtle and orthogonal to podman's technical innovations.. but as a lot of infra oss funding ultimately comes from what enterprise policies allow, this a significant anti-competitive adoption driver for podman by rhel/ibm.
Re: Podman: A Daemonless Container Engine
#48Re: Podman: A Daemonless Container Engine
#49Sincere question: why would I want to use Podman over Docker? What does being "daemonless" actually buy me in practice?
Might not be relevant if it’s your own machine though but for $BIG_CORP desktop that might be useful.
Re: Podman: A Daemonless Container Engine
#50Under the covers, both podman AND docker use runc. Redhat is writing a new version named "crun" which is lower overhead and faster: https://github.com/containers/crun
Adduser vs useradd is older than I am and I still can't keep them straight. Just put this with the rest of the fire, I guess, heh!