by imiric · 3y ago · 0 comments
Initially the main advantage it had over Docker was rootless mode, but this has been available in Docker for a while now. What currently sets Podman (Desktop/Compose) apart from its Docker counterparts?
I've also run into issues running some containers with Podman that work fine with Docker. I still use it for some simple use cases, but I'm wondering more why bother with a copycat product that only plays catch-up to Docker, and has its own set of issues. And, incidentally, is run by Red Hat, and by extension IBM, which are increasingly hostile to OSS.
Someone else has already mentioned built in pod support, plus you can generate kube files from existing pods for easy deployment.
So you end up with this nice progression of managing:
1. one-off/short term containers with podman run
2. longer running containers with podman generated systemd units
3. generation deployment of above long running containers with Quadlet
4. pods and more complicated setups on one machine with kube files
5. pods and more complicated setups across multiple machines with kubernetes
Which is a really nice stack to work with since they all use the same toolbox.
And that's outside of other small features like not having to worry about the docker package updating restarting the daemon and taking it all down, socket activation (through systemd units), and auto-updates.
[0] https://docs.podman.io/en/latest/markdown/podman-generate-sy... [1] https://docs.podman.io/en/latest/markdown/podman-systemd.uni...
For example, Deno (https://deno.land/) initially launched with precarious compatiliblity with Node.js, but eventually had to make compromises and adapt so Node.js projects could migrate easier.
Do you like having to have a daemon running? I don’t.
Also, the “pod” in the name may yield a few hints.
Finally, despite all the recent and undeserved hate, I know that Red Hat will keep their source open. I have no such faith in Docker.
Have you priced out Docker Desktop and Podman Desktop lately?
And we have yet to see if that ends up being the right call. These things are always really tough. On the one hand, compatibility with existing stuff makes migration easier, but then if it's not actually different enough, we have no reason to change to the new thing.
It has tons of features, but people don't pay attention to them due to the Docker being the lowest common denominator.
For example, there is absolutely no need for Compose. You create a pod and all the containers in it. You can then ask podman to generate all the systemd units for it.
I am also very worried about the IBM issue though, I wonder how long it will be until they slay this golden goose.
Have you tried running with Pods? Have you tried Quadlet? Have you tried to generate kube yaml from running pods and containers on your system? Have you used podman to generate pods and containers from existing kubernetes yaml files? Have you launched containers each in their own User Namespace with --userns=auto?