Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by buzzert on Saturday April 16, 2022 @06:30PM
(#31056654)
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.
[ Parent
| on HN ]
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by born2discover on Saturday April 16, 2022 @06:43PM
(#31056748)
For 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-sy...
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by markonen on Sunday April 17, 2022 @04:20AM
(#31059403)
This 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.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by born2discover on Sunday April 17, 2022 @11:27AM
(#31061478)
Interesting! 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`.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by buzzert on Monday April 18, 2022 @01:36PM
(#31073921)
That's awesome, I didn't know about that.
Looks like the service is called podman-restart.service on my system.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by 2OEH8eoCRo0 on Saturday April 16, 2022 @07:33PM
(#31057027)
Yup. 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.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by deno on Sunday April 17, 2022 @05:27AM
(#31059617)
This generator has even better systemd integration: https://github.com/containers/quadlet
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by forty on Sunday April 17, 2022 @03:14AM
(#31059119)
I 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.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by Klasiaster on Saturday April 16, 2022 @10:49PM
(#31058029)
The "podman.service" systemd unit takes care of restarting containers that were marked so.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by Klasiaster on Wednesday April 27, 2022 @12:31AM
(#31176318)
correction: podman-restart.service
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by hitpointdrew on Sunday April 17, 2022 @09:21AM
(#31060635)
The biggest drawback for me is that podman cannot build containers.
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by mathstuf on Monday April 18, 2022 @10:49AM
(#31071390)
Huh? I use `podman build` all the time. Sure, it uses `buildah` in the backend, but does that really matter?
Re:Podman Desktop Companion GUI – Parity on All Major Operat...
by hitpointdrew on Tuesday April 19, 2022 @07:36PM
(#31090797)
On 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.