Podman is great, but I only found it useful after learning quadlets and how to use podlet to generate quadlets (or quadlet pods) from dockerfiles. Now all my containers run with nice systemd commands in rootless podman containers instead of rooted dockerfiles (coz docker requires root unless you jump through hoops, when I started you couldn't). Quadlet syntax is so much cleaner than docker too.
post
Podman is amazing, I'm using it when I can. Sometimes some distros ship an older version and can cause problems, but on a newer version I don't see the reason to use docker ever again.
What specifically do you like about it that makes you prefer it over docker? 🙂
No root needed, so i can use it at my job, no daemon, so when something crashes the docker compose don't come back to life wasting 500% CPU with 3 trillion services on the background, also support for kubernetes yaml is nice too.
Azure eventhubs simulator doesn't work on it, but i consider that a plus hahaha.
Over all, some nice features, like in the other comment said, systemd services, and not messing with my system configs are a definitive plus for me.
Serious question: I've been running rootless Docker since it became possible. In what way is it limited compared to using Podman?
Nothing really critical.
Differences from where I'm at
- docker doesn't have native systemd integration ("quadlets")
- docker needs a daemon running
- podman has pods (like kubernetes) which are great for isolation of complex services
- you can run podman containers with kubernetes yaml
Apart from the other comment: rootless podman is easier to set up (there's basically no set up needed).
I'm confused at all these comments saying podman is hard to use, I used it a bunch last year and found it a drop in replacement for docker (though I didn't set it up).
I just set up a server running centos that has podman pre installed and I couldn't get it to work without installing additional packages and following guides.
It's not. I mean you could use podman compose but it's no longer developed.
Docker compose is so nice though
You can use docker compose with podman, or use podman compose.
Yeah, compose has been an open standard for a while now, that's why docker started* pushing you to rename your files to compose.yaml rather than docker-compose.yaml.
If you need a collection of containers run it as a k8s pod.
Trying to do a small thing in k3s is super simple. Trying to do a big thing in docker compose is awful.
I've been thinking about using this to replace my self-hosted docker repo. Does anyone know how well this works with hosting a docker repo?
I just released my first cross compiling app on Linux and Windows, using Podman. This is so great.
I am struggling to access a smb server with podman. I have it mounted on the host using fstab, but many podman containers refuse to access with permission issues, even setting uid:gid to 1000:1000 and giving ownership with unshare.
Any hint? I know there's not much detail, but I think I'm missing something fundamental
Docker works. Podman requires a ton of workarounds and wastes my time. I hope it gets good one day, but I'm not reverting to using systemd to manage containers.
podman missed the chance to grow, by making it very difficult to configure and use it. The way quadlets work is just such a struggle, if you have been using compose for years. And no, I don’t want to use podman compose, as I can just use rootless docker instead.
The way quadlets work is just such a struggle, if you have been using compose for years
Learning new things is hard, sure, but quadlets are not that complex. Take a few hours to sit down and read through the manual or a tutorial, and you'll find they're easier to maintain, write, and deploy.
Hot take: Docker compose is poorly designed, and very little thought went into the deployment side. It only 'won' because it was there first, and bad habits are tough to break.
It supposedly does. But why should I use podman then?
Native system packages and more features as well.
Okay, now I am curious. Can you please explain what exactly you mean? Like, what do you mean by “Native system packages”? And what features would you miss with docker? Thanks!
Sure! Docker CE needs you to add their own repo for deb or RPM based distros. Podman is available on all of the big distros main repos.
The biggest feature to me is this one https://docs.podman.io/en/latest/markdown/podman-kube.1.html
Podman and docker are good getting started with container steps (nerdctl is also awesome), but just a starting point with k8s being the goal for almost every service and job deployment to me.
all 43 comments