diff --git a/branch/main/docker_api_connection.html b/branch/main/docker_api_connection.html
index 0c2d5e81..a533187c 100644
--- a/branch/main/docker_api_connection.html
+++ b/branch/main/docker_api_connection.html
@@ -448,6 +448,7 @@ see
Note Does not work with TCP TLS sockets! This is caused by the inability to send Connect to the Docker daemon by providing parameters with each task or by defining environment variables. You can define This module does not use the Docker SDK for Python to communicate with the Docker daemon. It uses code derived from the Docker SDK or Python that is included in this collection.
+
diff --git a/branch/main/docker_compose_module.html b/branch/main/docker_compose_module.html
index 1bc2168f..5b2ffa6b 100644
--- a/branch/main/docker_compose_module.html
+++ b/branch/main/docker_compose_module.html
@@ -641,7 +641,8 @@ see project_src: flask
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- name: Run `docker-compose up` again
@@ -650,7 +651,8 @@ see build: false
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- ansible.builtin.assert:
@@ -663,10 +665,12 @@ see stopped: true
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- - ansible.builtin.assert:
+ - name: Verify that web and db services are running
+ ansible.builtin.assert:
that:
- "not output.services.web.flask_web_1.state.running"
- "not output.services.db.flask_db_1.state.running"
@@ -678,10 +682,12 @@ see restarted: true
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- - ansible.builtin.assert:
+ - name: Verify that web and db services are running
+ ansible.builtin.assert:
that:
- "output.services.web.flask_web_1.state.running"
- "output.services.db.flask_db_1.state.running"
@@ -690,13 +696,15 @@ see hosts: localhost
gather_facts: false
tasks:
- - community.docker.docker_compose:
+ - name: Scale the web service to two instances
+ community.docker.docker_compose:
project_src: flask
scale:
web: 2
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- name: Run with inline Compose file version 2
@@ -704,11 +712,13 @@ see hosts: localhost
gather_facts: false
tasks:
- - community.docker.docker_compose:
+ - name: Remove flask project
+ community.docker.docker_compose:
project_src: flask
state: absent
- - community.docker.docker_compose:
+ - name: Start flask project with inline definition
+ community.docker.docker_compose:
project_name: flask
definition:
version: '2'
@@ -726,10 +736,12 @@ see - db
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- - ansible.builtin.assert:
+ - name: Verify that the db and web services are running
+ ansible.builtin.assert:
that:
- "output.services.web.flask_web_1.state.running"
- "output.services.db.flask_db_1.state.running"
@@ -739,11 +751,13 @@ see hosts: localhost
gather_facts: false
tasks:
- - community.docker.docker_compose:
+ - name: Remove flask project
+ community.docker.docker_compose:
project_src: flask
state: absent
- - community.docker.docker_compose:
+ - name: Start flask project with inline definition
+ community.docker.docker_compose:
project_name: flask
definition:
db:
@@ -759,10 +773,12 @@ see - db
register: output
- - ansible.builtin.debug:
+ - name: Show results
+ ansible.builtin.debug:
var: output
- - ansible.builtin.assert:
+ - name: Verify that web and db services are running
+ ansible.builtin.assert:
that:
- "output.services.web.flask_web_1.state.running"
- "output.services.db.flask_db_1.state.running"
diff --git a/branch/main/docker_container_exec_module.html b/branch/main/docker_container_exec_module.html
index 3da1af6c..79cbdc7d 100644
--- a/branch/main/docker_container_exec_module.html
+++ b/branch/main/docker_container_exec_module.html
@@ -493,6 +493,7 @@ see Noteclose_notify without closing the connection with Python’s SSLSockets. See https://github.com/ansible-collections/community.docker/issues/605 for more information.DOCKER_HOST, DOCKER_TLS_HOSTNAME, DOCKER_API_VERSION, DOCKER_CERT_PATH, DOCKER_SSL_VERSION, DOCKER_TLS, DOCKER_TLS_VERIFY and DOCKER_TIMEOUT. If you are using docker machine, run the script shipped with the product that sets up the environment. It will set these variables for you. See https://docs.docker.com/machine/reference/env/ for more details.
Does not support check_mode.
Does not work with TCP TLS sockets when using stdin. This is caused by the inability to send close_notify without closing the connection with Python’s SSLSockets. See https://github.com/ansible-collections/community.docker/issues/605 for more information.
Connect to the Docker daemon by providing parameters with each task or by defining environment variables. You can define DOCKER_HOST, DOCKER_TLS_HOSTNAME, DOCKER_API_VERSION, DOCKER_CERT_PATH, DOCKER_SSL_VERSION, DOCKER_TLS, DOCKER_TLS_VERIFY and DOCKER_TIMEOUT. If you are using docker machine, run the script shipped with the product that sets up the environment. It will set these variables for you. See https://docs.docker.com/machine/reference/env/ for more details.
This module does not use the Docker SDK for Python to communicate with the Docker daemon. It uses code derived from the Docker SDK or Python that is included in this collection.
Alternatively, docker-cli selects the docker connection plugin, and docker-api (default) selects the docker_api connection plugin.
When docker-api is used, all Docker daemon configuration values are passed from the inventory plugin to the connection plugin. This can be controlled with configure_docker_daemon.
Note that the docker_api connection plugin does not work with TCP TLS sockets! See https://github.com/ansible-collections/community.docker/issues/605 for more information.
Choices:
"ssh"