3 ms·
Does Podman have enough parity that I can run our Compose stack locally? Last I tried (months ago), enough things failed that I gave up, but it would be great i
by stavros 5y ago
Does Podman have enough parity that I can run our Compose stack locally? Last I tried (months ago), enough things failed that I gave up, but it would be great if developers could easily develop locally without root (which causes a bunch of permissions problems).
- INTPenis 5y agoThanks for the update. Last I tried podman-compose was probably a year ago and it was clearly not ready. So according to your update it's still not ready. Podman-compose is just a shell wrapper that translates compose yaml into podman shell commands. Which is why it will never really work imo because it's a hack. We really need some OCI way of declaring containers. Recently apko[1] was announced but it's for apk systems so I'm not sure how it helps me on Fedora. I think the idea was that you should be able to use the Kubernetes format spec to specify podman Pods. But I have yet to see that work. Until then podman is just something I use locally, but I still need docker to help my devs. There is no way I can force podman on them. 1. https://github.com/chainguard-dev/apko https://github.com/chainguard-dev/apko
- stavros 5y ago> Podman-compose is just a shell wrapper that translates compose yaml into podman shell commands. Which is why it will never really work imo because it's a hack. Isn't Docker Compose the exact same thing though?
- INTPenis 5y agoWell sort of, I mean it's some sort of python script so maybe it uses the docker py client instead of running docker commands with system. I dunno. But my experience with podman-compose has been that it's not ready, mainly for more complex compose setups with different network access. I think that is what Pods are perfect for.
- rhatdan 5y agoYes Podman supports the Docker API and supports docker-compose directly a opposed to podman-compose which uses podman commands directly by reading the compose format and generating podman commands. docker-compose2 has a bug with Podman right now, but a fix went into upstream this week to fix support.