+ + +
+ +
+

community.docker.docker_compose_v2 module – Manage multi-container Docker applications with Docker Compose CLI plugin

+
+

Note

+

This module is part of the community.docker collection (version 3.6.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.docker. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.docker.docker_compose_v2.

+
+

New in community.docker 3.6.0

+ +
+

Synopsis

+
    +
  • Uses Docker Compose to start or shutdown services.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • Docker CLI with Docker compose plugin 2.18.0 or later

  • +
+
+
+

Parameters

+