Podman support for Docker Compose V2
Hi, Does Podman support Compose V2? Like Docker Compose V2, it could be possible to run "podman compose up/down". I tried with podman 4.4.2 and failed. I think it would be a cool feature. Is that support on the agenda or not? - Mehdi
On 05.04.23 at 20:21 Mehdi Haghgoo via Podman wrote:
Hi, Does Podman support Compose V2? Like Docker Compose V2, it could be possible to run "podman compose up/down". I tried with podman 4.4.2 and failed. I think it would be a cool feature. Is that support on the agenda or not?
There is podman-compose, which is limited and does not support all features of docker-compose AFAIK. However, AFAIK you can use the docker executables together with the podman.socket (i.e. you do not start and run the docker systemd service). You need to set an environment variable DOCKER_HOST to point the docker tooling at the podman socket. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Hi Johannes, Thanks. You are right. I have used docker-compose with Podman backend and it is nice. What i meant was Docker Compose V2 which allows running "docker compose up/down" (separate, all using docker cli alone, without using the docker-compose executable). It appears to require implementing a new subset of features for Podman. Is there such an implementation on agenda for podman or not? On Thu, Apr 6, 2023 at 7:19, Johannes Kastl<kastl@b1-systems.de> wrote: On 05.04.23 at 20:21 Mehdi Haghgoo via Podman wrote:
Hi, Does Podman support Compose V2? Like Docker Compose V2, it could be possible to run "podman compose up/down". I tried with podman 4.4.2 and failed. I think it would be a cool feature. Is that support on the agenda or not?
There is podman-compose, which is limited and does not support all features of docker-compose AFAIK. However, AFAIK you can use the docker executables together with the podman.socket (i.e. you do not start and run the docker systemd service). You need to set an environment variable DOCKER_HOST to point the docker tooling at the podman socket. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
Hi Mehdi, On 06.04.23 at 06:39 Mehdi Haghgoo wrote:
You are right. I have used docker-compose with Podman backend and it is nice. What i meant was Docker Compose V2 which allows running "docker compose up/down" (separate, all using docker cli alone, without using the docker-compose executable). It appears to require implementing a new subset of features for Podman. Is there such an implementation on agenda for podman or not?
docker compose v2 is just a "plugin" to docker, no longer a python standalone executable. But it works the same with podman as docker-compose, set DOCKER_HOST and have a go. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (2)
-
Johannes Kastl -
Mehdi Haghgoo