-
-
-
- aliases: docker_api_version
- string
- |
-The version of the Docker API running on the Docker Host.
- Defaults to the latest version of the API supported by this collection and the docker daemon.
- If the value is not specified in the task, the value of environment variable DOCKER_API_VERSION will be used instead. If the environment variable is not set, the default value will be used.
- Default: "auto"
- |
-
-
-
-
-
- aliases: tls_ca_cert, cacert_path
- path
- |
-Use a CA certificate when performing server verification by providing the path to a CA certificate file.
- If the value is not specified in the task and the environment variable DOCKER_CERT_PATH is set, the file ca.pem from the directory specified in the environment variable DOCKER_CERT_PATH will be used.
- |
-
-
-
-
-
- aliases: tls_client_cert, cert_path
- path
- |
-Path to the client’s TLS certificate file.
- If the value is not specified in the task and the environment variable DOCKER_CERT_PATH is set, the file cert.pem from the directory specified in the environment variable DOCKER_CERT_PATH will be used.
- |
-
-
-
-
-
- aliases: tls_client_key, key_path
- path
- |
-Path to the client’s TLS key file.
- If the value is not specified in the task and the environment variable DOCKER_CERT_PATH is set, the file key.pem from the directory specified in the environment variable DOCKER_CERT_PATH will be used.
- |
-
- |
-Whether to list containers.
- Choices:
-
-false ← (default)
-true
-
- |
-
-
-
- boolean
- added in community.docker 3.4.0
- |
-By default, only running containers are returned.
- This corresponds to the --all option to docker container list.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-A dictionary of filter values used for selecting containers to list.
- For example, until: 24h.
- label is a special case of filter which can be a string <key> matching when a label is present, a string <key>=<value> matching when a label has a particular value, or a list of strings <key>/<key>=<value.
- See the docker documentation for more information on possible filters.
- |
-
- |
-Debug mode
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-Summary information on used disk space by all Docker layers.
- The output is a sum of images, volumes, containers and build cache.
- Choices:
-
-false ← (default)
-true
-
- |
-
-
-
-
- aliases: docker_url
- string
- |
-The URL or Unix socket path used to connect to the Docker API. To connect to a remote host, provide the TCP connection string. For example, tcp://192.0.2.23:2376. If TLS is used to encrypt the connection, the module will automatically replace tcp in the connection URL with https.
- If the value is not specified in the task, the value of environment variable DOCKER_HOST will be used instead. If the environment variable is not set, the default value will be used.
- Default: "unix://var/run/docker.sock"
- |
-
- |
-Whether to list images.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-A dictionary of filter values used for selecting images to list.
- For example, dangling: true.
- label is a special case of filter which can be a string <key> matching when a label is present, a string <key>=<value> matching when a label has a particular value, or a list of strings <key>/<key>=<value.
- See the docker documentation for more information on possible filters.
- |
-
- |
-Whether to list networks.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-A dictionary of filter values used for selecting networks to list.
- label is a special case of filter which can be a string <key> matching when a label is present, a string <key>=<value> matching when a label has a particular value, or a list of strings <key>/<key>=<value.
- See the docker documentation for more information on possible filters.
- |
-
- |
-Provide a valid SSL version number. Default value determined by SSL Python module.
- If the value is not specified in the task, the value of environment variable DOCKER_SSL_VERSION will be used instead.
- |
-
- |
-The maximum amount of time in seconds to wait on a response from the API.
- If the value is not specified in the task, the value of environment variable DOCKER_TIMEOUT will be used instead. If the environment variable is not set, the default value will be used.
- Default: 60
- |
-
- |
-Secure the connection to the API by using TLS without verifying the authenticity of the Docker host server. Note that if validate_certs is set to true as well, it will take precedence.
- If the value is not specified in the task, the value of environment variable DOCKER_TLS will be used instead. If the environment variable is not set, the default value will be used.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-When verifying the authenticity of the Docker Host server, provide the expected name of the server.
- If the value is not specified in the task, the value of environment variable DOCKER_TLS_HOSTNAME will be used instead. If the environment variable is not set, the default value will be used.
- Note that this option had a default value localhost in older versions. It was removed in community.docker 3.0.0.
- |
-
-
-
- boolean
- added in community.docker 1.5.0
- |
-For SSH transports, use the ssh CLI tool instead of paramiko.
- Choices:
-
-false ← (default)
-true
-
- |
-
-
-
-
- aliases: tls_verify
- boolean
- |
-Secure the connection to the API by using TLS and verifying the authenticity of the Docker host server.
- If the value is not specified in the task, the value of environment variable DOCKER_TLS_VERIFY will be used instead. If the environment variable is not set, the default value will be used.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-When set to true and networks, volumes, images, containers, or disk_usage is set to true then output will contain verbose information about objects matching the full output of API method. For details see the documentation of your version of Docker API at https://docs.docker.com/engine/api/.
- The verbose output in this module contains only subset of information returned by this module for each type of the objects.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-Whether to list volumes.
- Choices:
-
-false ← (default)
-true
-
- |
-
- |
-A dictionary of filter values used for selecting volumes to list.
- label is a special case of filter which can be a string <key> matching when a label is present, a string <key>=<value> matching when a label has a particular value, or a list of strings <key>/<key>=<value.
- See the docker documentation for more information on possible filters.
- |
-
-
-