Skip to content

Commit ebaf1c7

Browse files
authored
Adjust scenario guide to reality. (#1091)
1 parent c1df4bc commit ebaf1c7

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

docs/docsite/rst/scenario_guide.rst

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -258,28 +258,23 @@ Docker Compose
258258
Docker Compose v2
259259
.................
260260

261-
There are two modules for working with Docker compose projects:
261+
There are several modules for working with Docker Compose projects:
262262

263263
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.
265268

266269
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.
268274

269275
These modules use the Docker CLI "compose" plugin (``docker compose``), and thus needs access to the Docker CLI tool.
270276
No further requirements next to to the CLI tool and its Docker Compose plugin are needed.
271277

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.
282-
283278

284279
Docker Machine
285280
--------------

0 commit comments

Comments
 (0)