Hacker News new | ask | show | jobs
by koakuma-chan 650 days ago
What are the benefits of using Podman and not Docker?
5 comments

From a technical perspective the big two are:

- Pod is significantly simpler than Docker, notably Podman doesn't need to run a background process, your containers run directly as separate processes.

- Podman avoids some long-standing security design weaknesses in Docker ("rootless"). Docker rootless _is_ a thing but has compatibility limits.

Rootless, daemonless, hardware passthrough, no Docker Inc pulling the rug, etc etc
If using Kubernetes, Podman's approach allows you to share config with production to a greater extent.
Licensing. No root daemon.
Docker Engine is Apache 2.0, is this not a good license? Docker has a rootless mode too.
When you say "Docker Engine" that suggests other parts of Docker are licensed differently (I haven't looked into it). I'd say you have to compare the whole ecosystem and not just a single component either way.
I said "Docker Engine" specifically because it is "Docker Engine" that is the counterpart of Podman, and therefore it is the only component that matters. The discussion here is "Docker" vs "Podman," but "Docker Engine" is what we really mean when saying "Docker."
Docker Desktop has a much more restrictive license. Unfortunately, on MacOS and Windows, the "Docker Desktop" product is often referred to as simply "Docker".

FWIW, Podman has an open source alternative to Docker Desktop as well.

No root daemon got replaced with "but if you want a replacement for docker compose you ought to be using systemd (quadlets)".

Meh

Incorrect, the use of a non-root daemon is essential for isolation and security.
Im fully on board with the idea that root daemons shouldnt be necessary I just dont want systemd to become a dependency for yet again something else it shouldnt be a dependency for.
Huh, that's another uninformed take.

systemd is at it's core an app for running services, such as containers.

You should read up on podman and systemd before making up more arguments.

The point is that RedHat went on a tirade for years telling everyone: "Docker bad, root! Podman good, no root! Docker bad, daemon! Podman good, no daemon!".

And then here comes Quadlets and the systemd requirements. Irony at its finest! The reality is Podman is good software if you've locked yourself into a corner with Dan Walsh and RHEL. In that case, enjoy.

For everyone else the OSS ecosystem that is Docker actually has less licensing overhead and restrictions, in the long run, than dealing with IBM/RedHat. IMO that is.

Quadlets is systemd. Red hat declared it to be the recommended/blessed way of running containers. podman compose is treated like the bastard stepchild (presumably because it doesnt have systemd as a dependency).

Please try to understand the podman ecosystem before lashing out.

Podman runs on FreeBSD without systemd, so there you go.
yeah, it runs fine without systemd, until you need a docker compose substitute and then you get told to use quadlets (systemd), podman compose (neglected and broken as fuck) or docker compose (with a daemon! also not totally compatible) or even kubernetes...
Process isolation