Live data from Hacker News

Podman v6.0.0

blog.podman.io

201–210 of 269 posts

Re: Podman v6.0.0

#201
post #73

Earlier quoted context omitted.

I’d wager it’s mainly just that deployment is mildly more annoying and requires more disparate steps. Especially if you want to go rootless (and you should). For someone that isn’t “Linux first” (like a baby developer learning to containerize their apps), the idea of dealing with systemd unit files or kublet configs, and having to created dedicated local service accounts (and remembering to enable linger) is somewhat…

It's not just mildly annoying, it completely ruins a great thing. Docker Compose is to stacks what Dockerfiles are to a single application. Podmans solution is to not commit to compose, but instead to create a bespoke mechanism involving a bunch of tiny files, all of which is insanely system (linux) specific, and therefore completely non-portable. I genuinely don't understand how someone can see the value of Docker,…

Have you try podman-compose ?

Re: Podman v6.0.0

#202
post #44
post #4

No idea why Docker is still so much more popular than Podman. Podman is obviously the better implementation. The new network stuff is a welcome improvement.

Last time I evaluated podman, Ubuntu was second class citizen. Rootless was non trivial and required additional setup. Documentation also suck. Docker is something we all already hate, milion edge cases and forever bugs but at least well documented and understood. Podman claim to be drop-in replacement does it mean it carry docker shitness? Examples: ufw punch through, env file handling, volumes, etc

When have you tryed ? I have installed podman in Debian with a sudo apt install podman and I didn't to do anything special. It's rootless by default.

Re: Podman v6.0.0

#203
post #195

Earlier quoted context omitted.

> Docker Compose is to stacks what Dockerfiles are to a single application. Podmans solution is to not commit to compose This isn't (completely) true. I found podman-compose to be a more or less drop-in replacement for docker-compose. I know that in the past support was patchy, but things are rather good now.

Pretty sure that's because podman-compose literally calls docker-compose under the hood. e: from the manpage: "podman compose is a thin wrapper around an external compose provider such as docker-compose or podman-compose. This means that podman compose is executing another tool that implements the compose functionality but sets up the environment in a way to let the compose provider communicate transparently with the…

it calls podman-compose or docker-compose depending on what is installed...

this is literally what manpage you quoted says too

Re: Podman v6.0.0

#204
post #195

Earlier quoted context omitted.

> Docker Compose is to stacks what Dockerfiles are to a single application. Podmans solution is to not commit to compose This isn't (completely) true. I found podman-compose to be a more or less drop-in replacement for docker-compose. I know that in the past support was patchy, but things are rather good now.

Pretty sure that's because podman-compose literally calls docker-compose under the hood. e: from the manpage: "podman compose is a thin wrapper around an external compose provider such as docker-compose or podman-compose. This means that podman compose is executing another tool that implements the compose functionality but sets up the environment in a way to let the compose provider communicate transparently with the…

That's the "podman compose" wrapper command. podman-compose (the implementation referenced in the first sentence of your quote) does not call docker-compose: https://github.com/containers/podman-compose

Re: Podman v6.0.0

#205
post #44

Earlier quoted context omitted.

Last time I evaluated podman, Ubuntu was second class citizen. Rootless was non trivial and required additional setup. Documentation also suck. Docker is something we all already hate, milion edge cases and forever bugs but at least well documented and understood. Podman claim to be drop-in replacement does it mean it carry docker shitness? Examples: ufw punch through, env file handling, volumes, etc

Last time I tried rootless podman was about 6 months ago and it was a total mess. I was trying to use it to run a container as me (user 1000) and mount a directory from my home (owned by user 1000) and it drove me and Claude around the bend. It's not a podman vs docker thing per se, just rootless being a total pain. However I just enabled the docker service, ran the same command on docker and it worked. I think I jus…

Try without Claude. Happy rootless podman user since October. It just works.

Re: Podman v6.0.0

#206

I don't understand how podman can be used for serious development work. Sure, if you want to be bound to one single platform (linux), and create a bunch of individual files, you can sort of get something a little bit like compose. But the beauty of compose is the same as the beauty of the Dockerfile. Portability, reproducibility (mostly), and a single readable file with all the relevant parts. It means a developer ca…

> Sure, if you want to be bound to one single platform (linux)

Not a big deal if you are developing server software, as most servers nowadays are Linux.

Re: Podman v6.0.0

#207
post #4

No idea why Docker is still so much more popular than Podman. Podman is obviously the better implementation. The new network stuff is a welcome improvement.

The average developer is much dumber than you think.

Re: Podman v6.0.0

#208
post #76

I really love Quadlet. I used to host my rootless containers on Hetzner, Ansible, SystemD and RockyLinux for years without any issues and extracted it to template repo [1]. [1] https://github.com/Mati365/hetzner-podman-bunjs-deploy

I switched my home server from k3s to quadlet and saw an 8% drop in power usage.

Well hang on a second I have two nodes running k3s. 8%??

Did you accidentally also swap out the CPU governor?

Re: Podman v6.0.0

#209
post #184

Earlier quoted context omitted.

You can use actual docker-compose with podman, the -compose projects are separate from podman/docker. podman-compose never worked well for me but docker-compose on podman did.

The CLI plugin or the script? Last time I checked the podman CLI did not support docker CLI plugins and the script is EOL since years.

Podman has supported plugin compose (v2) for years now, and I believe that's the version I used before I switched to Quadlets, but I must have not needed Buildkit features back then because those are apparently still unsupported over v2.

Re: Podman v6.0.0

#210

Earlier quoted context omitted.

You can use actual docker-compose with podman, the -compose projects are separate from podman/docker. podman-compose never worked well for me but docker-compose on podman did.

docker-compose (v1) is obsolete. The new version (v2) is a plugin for the docker CLI.

See my answer to your sibling comment. Podman supports v2 but not with Buildkit.
Post reply on HN