You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thing you should note here is that community.docker.docker_compose is meant for Docker Compose v1 (which is written in python) and will be deprecated by Docker ending this month. The Issue you mention doesn't seem have any contributions made actually. It was just closed and the issue was moved.
The Docker Compose v2 has some drawbacks since it is completely re-written in Golang which breaks the community.docker.docker_compose module.
There is currently a draft PR #586 which will wrap around the Docker Compose v2 (essentially docker compose as opposed to docker-compose which is v1).
The better solution is to use ansible.builtin.command which will do the docker compose pull command for you at the moment.
SUMMARY
For
community.docker.docker_compose
.This issue was for running equivalent of
$ docker compose pull
- pulling images referenced indocker-compose.yml
, without running them.That issue was closed, and it appears that functionality was added.
But there are no docs for that behaviour.
Please advise the syntax, and update the docs for that module?
ISSUE TYPE
COMPONENT NAME
community.docker.docker_compose
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: