top | item 44973722

(no title)

heavensteeth | 6 months ago

I tried Podman on my messing around VPS but quickly reverted to rootless Docker.

The straw that broke the camels back was a bug in `podman compose` that funnily enough was fixed two hours ago[1]; if `service1` has a `depends_on` on `service2`, bringing down `service1` will unconditionally bring down `service2`, even if other services also depend on it. So if two separate services depend on a database, killing one of them will kill the database too.

Another incompatibility with Docker I experienced was raised in 2020 and fixed a few months ago[2]; you couldn't pass URLs to `build:` to automatically pull and build images. The patch for this turned out to be a few lines long.

I'm sure Podman will be great once all of these bugs are ironed out, but for me, it's not quite there yet.

[1]: https://github.com/containers/podman-compose/pull/1283

[2]: https://github.com/containers/podman-compose/issues/127

discuss

order

bogwog|6 months ago

Podman compose is an attempt to court Docker users by porting over a bad idea. Instead of that, learn how to create "quadlets" and you'll never want to touch docker again. See: https://www.redhat.com/en/blog/quadlet-podman

I recommend starting with .container files instead of .kube, unless you're already familiar with kubernetes.

c-hendricks|6 months ago

So for my set of DVR services, quadlets would have me replace a single compose.yml with 6 .container files, and manually create the network, and have to stop and start all of the services individually.

Not sure I'm sold.

johnny22|6 months ago

Can you use those quadlets inside a development project? I use docker-compose (with podman) just so i can work on a project that is completely self-contained. No copying files to ~/.config/systemd just run docker-compose to start and stop.

Can i do that with quadlets?

cyberax|6 months ago

Can I use quadlets on my macOS laptop? Or in WSL2?

sureglymop|6 months ago

I use rootless podman in socket mode but use the docker CLI (just the CLI, no daemon or service or messing with iptables) as the frontend. Can recommend!

bityard|6 months ago

What does the docker CLI give you that the podman CLI doesn't? (Surely you aren't suggesting that `docker compose` works with a podman rootless daemon?)

prmoustache|6 months ago

> once all of these bugs are ironed out

You just mentioned they are.