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
Copy file name to clipboardExpand all lines: docs/docsite/rst/scenario_guide.rst
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -258,28 +258,23 @@ Docker Compose
258
258
Docker Compose v2
259
259
.................
260
260
261
-
There are two modules for working with Docker compose projects:
261
+
There are several modules for working with Docker Compose projects:
262
262
263
263
community.docker.docker_compose_v2
264
-
The :ansplugin:`community.docker.docker_compose_v2 module <community.docker.docker_compose_v2#module>` allows you to use your existing Docker compose files to orchestrate containers on a single Docker daemon or on Swarm.
264
+
The :ansplugin:`community.docker.docker_compose_v2 module <community.docker.docker_compose_v2#module>` allows you to use your existing Docker Compose files to orchestrate containers on a single Docker daemon or on Swarm.
265
+
266
+
community.docker.docker_compose_v2_exec
267
+
The :ansplugin:`community.docker.docker_compose_v2_exec module <community.docker.docker_compose_v2_exec#module>` allows you to run a command in a container of Docker Compose projects.
265
268
266
269
community.docker.docker_compose_v2_pull
267
-
The :ansplugin:`community.docker.docker_compose_v2_pull module <community.docker.docker_compose_v2_pull#module>` allows you to pull Docker compose projects.
270
+
The :ansplugin:`community.docker.docker_compose_v2_pull module <community.docker.docker_compose_v2_pull#module>` allows you to pull Docker Compose projects.
271
+
272
+
community.docker.docker_compose_v2_run
273
+
The :ansplugin:`community.docker.docker_compose_v2_run module <community.docker.docker_compose_v2_run#module>` allows you to run a command in a new container of a Docker Compose project.
268
274
269
275
These modules use the Docker CLI "compose" plugin (``docker compose``), and thus needs access to the Docker CLI tool.
270
276
No further requirements next to to the CLI tool and its Docker Compose plugin are needed.
271
277
272
-
Docker Compose v1
273
-
.................
274
-
275
-
The deprecated :ansplugin:`community.docker.docker_compose module <community.docker.docker_compose#module>`
276
-
allows you to use your existing Docker compose files to orchestrate containers on a single Docker daemon or on Swarm.
277
-
This module uses the out-dated and End of Life version 1.x of Docker Compose. It should mainly be used for legacy systems
278
-
which still have to use that version of Docker Compose. **The module is deprecated and will be removed from community.docker 4.0.0.**
279
-
Please use the Docker Compose v2 modules instead.
280
-
281
-
You need to install the `old Python docker-compose <https://pypi.org/project/docker-compose/>`_ on the remote machines to use the Docker Compose v1 module.
0 commit comments