Hacker News new | past | comments | ask | show | jobs | submit login

Still no compose support?



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


FWIW podman (sans desktop) works perfectly fine as a native back end for docker-compose as of podman v3, you just need to set the DOCKER_HOST env var.

https://wiki.archlinux.org/title/Podman#Docker_Compose

podman-compose is less interesting since.


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.


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.


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


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?


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


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


Looks like it. Last time I tried it, I wasn't able to use it because of this. I don't use or need kubernetes. I do use docker and docker-compose. A lot. On basically all my projects. It's not optional for me. So, sadly, Podman is not a usable docker desktop replacement for me.

I used qemu for a while on my old macbook with a linux vm that had ssh installed. You can actually make docker use a remote machine via ssh and with some environment variable magic you can actually make things like docker-compose work that way. A bit tricky with mounting volumes and forwarding ports of course but you can make that work as well. You can use ssh to forward local ports to a remote machine and you can setup qemu to share directories to the vm. It is a bit tedious to manage but I used this for several months with some scripts to set this up. So, having done this manually, that raises the question why Podman can't do this?

I reverted back to using docker desktop when I got my M1 macbook last year. It's just easier. But it would be nice to have some alternative if the need ever arises. If Podman improves their docker-compose support I might give it another try.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: