top | item 35298826

(no title)

rwbhn | 2 years ago

Looks like there is compose support - https://podman-desktop.io/docs/compose/podman-compose

discuss

order

sph|2 years ago

I'm not sure why the docs mention podman-compose, which is buggy and unmaintained.

The podman way is to write a k8s manifest and start it with `podman play kube`. Also handles configMaps and persistentVolumes.

If you really need docker-compose, podman is API-compatible with docker, so you can use the real thing on top of the podman socket.

Just do not use podman-compose.

hypothesis|2 years ago

Ok, this one is “interesting”: podman-compose have a dev brach that has some lots of things addressed, but they don’t have any recent tags and it’s not clear if they are going too. There is an issue somewhere, alluding that development is stalled because k8s is the way or similar thing.

Debian recently packaged 1.0.3 that is also old.

3np|2 years ago

See sibling comment. You can use docker-compose directly with podman.

crazysim|2 years ago

Hmm, this is the one that's closer to the Python docker-compose and not "docker compose" that's built into docker right now right?

KyeRussell|2 years ago

Yes. The language change coincides with a slew of new features.

jacooper|2 years ago

Podman compose doesn't cover the whole compose spec, so no, it doesn't support it.