7 ms·
It is! At least 99%, in my experience. The one big difference is that Podman is "daemonless", which is actually a huge advantage in a lot of cases. The one down
by buzzert 4y ago
It is! At least 99%, in my experience. The one big difference is that Podman is "daemonless", which is actually a huge advantage in a lot of cases. The one downside is that it won't automatically restart your containers if your host machine reboots.
- born2discover 4y agoFor that Podman provides a nifty little trick: `podman generate systemd`[0] which allows you to generate systemd unit files for your pods and/or containers. Once generated and enabled, your pods/containers act as systemd services that can be started, stopped etc. [0]: https://docs.podman.io/en/latest/markdown/podman-generate-systemd.1.html https://docs.podman.io/en/latest/markdown/podman-generate-sy...
- 2OEH8eoCRo0 4y agoYup. I use this for all my home server services like Plex, Adguard, etc. I reboot my machine after kernel updates and everything comes up flawlessly.
- markonen 4y agoThis is no longer necessary as of Podman 3.3 or so--there's a single Podman systemd unit that will launch all containers that have restart=always.
- born2discover 4y agoInteresting! Do you have by any chance a link the documentation about it, because so far all I could find are links to information about `podman generate systemd`.
- buzzert 4y agoThat's awesome, I didn't know about that. Looks like the service is called podman-restart.service on my system.
- deno 4y agoThis generator has even better systemd integration: https://github.com/containers/quadlet https://github.com/containers/quadlet
- Klasiaster 4y agoThe "podman.service" systemd unit takes care of restarting containers that were marked so.
- Klasiaster 4y agocorrection: podman-restart.service
- forty 4y agoI want to mention the "-userns=keep-id" option of podman, which is a reason enough to use podman rather than docker on a Linux laptop.
- hitpointdrew 4y agoThe biggest drawback for me is that podman cannot build containers.
- mathstuf 4y agoHuh? I use `podman build` all the time. Sure, it uses `buildah` in the backend, but does that really matter?
- hitpointdrew 4y agoOn Mac OS at least there is a bunch of hoops you have to jump through for build to work at all. If I recall you needed virtualbox installed (which I don't want). With docker it just works, you install docker you can run docker build, no extra troubleshooting, or hacky workarounds, just so you can use basic functionality.