Topics
- v3.12.1
- v3.12.0
- v3.11.0
- v3.10.4
- v3.10.3
- v3.10.2
- v3.10.1
- v3.10.0
- v3.9.0
- v3.8.1
- v3.8.0
- v3.7.0
- v3.6.0
- v3.5.0
- v3.4.11
- v3.4.10
- v3.4.9
- v3.4.8
- v3.4.7
- v3.4.6
- v3.4.5
- v3.4.4
- v3.4.3
- v3.4.2
- v3.4.1
- v3.4.0
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- v2.7.0
- v2.6.0
- v2.5.1
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.1.0
Maintenance release with updated documentation and changelog.
- The collection deprecates support for all ansible-core versions that are currently End of Life, according to the ansible-core support matrix. This means that the next major release of the collection will no longer support ansible-core 2.11, ansible-core 2.12, ansible-core 2.13, and ansible-core 2.14.
Bugfix and feature release.
- docker, docker_api connection plugins - allow to determine the working directory when executing commands with the new
working_dir
option (ansible-collections#943). - docker, docker_api connection plugins - allow to execute commands with extended privileges with the new
privileges
option (ansible-collections#943). - docker, docker_api connection plugins - allow to pass extra environment variables when executing commands with the new
extra_env
option (ansible-collections#937, ansible-collections#940). - docker_compose_v2* modules - support Docker Compose 2.29.0's
json
progress writer to avoid having to parse text output (ansible-collections#931). - docker_compose_v2_pull - add new options
ignore_buildable
,include_deps
, andservices
(ansible-collections#941, ansible-collections#942). - docker_container - when creating a container, directly pass all networks to connect to to the Docker Daemon for API version 1.44 and newer. This makes creation more efficient and works around a bug in Docker Daemon that does not use the specified MAC address in at least some cases, though only for creation (ansible-collections#933).
- docker_compose_v2 - handle yet another random unstructured error output from pre-2.29.0 Compose versions (ansible-collections#948, ansible-collections#949).
- docker_compose_v2 - make sure that services provided in
services
are appended to the command line after--
and not before it (ansible-collections#942). - docker_compose_v2* modules, docker_image_build - provide better error message when required fields are not present in
docker version
ordocker info
output. This can happen if Podman is used instead of Docker (ansible-collections#891, ansible-collections#935). - docker_container - fix idempotency if
network_mode=default
and Docker 26.1.0 or later is used. There was a breaking change in Docker 26.1.0 regarding normalization ofNetworkMode
(ansible-collections#934, ansible-collections#936). - docker_container - restore behavior of the module from community.docker 2.x.y that passes the first network to the Docker Deamon while creating the container (ansible-collections#933).
- docker_image_build - fix
--output
parameter composition fortype=docker
andtype=image
(ansible-collections#946, ansible-collections#947).
- docker_container - when specifying a MAC address for a container's network, and the network is attached after container creation (for example, due to idempotency checks), the MAC address is at least in some cases ignored by the Docker Daemon (ansible-collections#933).
- docker_container - add support for
device_cgroup_rules
(ansible-collections#910). - docker_container - the new
state=healthy
allows to wait for a container to become healthy on startup. Thehealthy_wait_timeout
option allows to configure the maximum time to wait for this to happen (ansible-collections#890, ansible-collections#921).
- docker_compose_v2* modules - fix parsing of skipped pull messages for Docker Compose 2.28.x (ansible-collections#911, ansible-collections#916).
- docker_compose_v2*, docker_stack*, docker_image_build modules - using
cli_context
no longer leads to an invalid parameter combination being passed to the corresponding Docker CLI tool, unlessdocker_host
is also provided. Combiningcli_context
anddocker_host
is no longer allowed (ansible-collections#892, ansible-collections#895). - docker_container - fix possible infinite loop if
removal_wait_timeout
is set (ansible-collections#922). - vendored Docker SDK for Python - use
LooseVersion
instead ofStrictVersion
to compare urllib3 versions. This is needed for development versions (ansible-collections#902).
Bugfix release.
- docker_compose - make sure that the module uses the
api_version
parameter (ansible-collections#881). - docker_compose_v2* modules - there was no check to make sure that one of
project_src
anddefinition
is provided. The modules crashed if none were provided (ansible-collections#885, ansible-collections#886).
Bugfix release.
- docker and nsenter connection plugins, docker_container_exec module - avoid using the deprecated
ansible.module_utils.compat.selectors
module util with Python 3 (ansible-collections#870, ansible-collections#871).
Bugfix release.
- vendored Docker SDK for Python - include a fix requests 2.32.2+ compatibility (ansible-collections#860, psf/requests#6707, ansible-collections#864).
Hotfix release for requests 2.32.0 compatibility.
- vendored Docker SDK for Python - include a hotfix for requests 2.32.0 compatibility (ansible-collections#860, docker/docker-py#3256, ansible-collections#861).
Please note that the fix for requests 2.32.0 included in community.docker 3.10.1 only fixes problems with the vendored Docker SDK for Python code. Modules and plugins that use Docker SDK for Python can still fail due to the SDK currently being incompatible with requests 2.32.0.
If you still experience problems with requests 2.32.0, such as error messages like
Not supported URL scheme http+docker
, please restrict requests to<2.32.0
.
Feature release.
- docker_container - adds
healthcheck.start_interval
to support healthcheck start interval setting on containers (ansible-collections#848). - docker_container - adds
healthcheck.test_cli_compatible
to allow omit test option on containers without remove existing image test (ansible-collections#847). - docker_image_build - add
outputs
option to allow configuring outputs for the build (ansible-collections#852). - docker_image_build - add
secrets
option to allow passing secrets to the build (ansible-collections#852). - docker_image_build - allow
platform
to be a list of platforms instead of only a single platform for multi-platform builds (ansible-collections#852). - docker_network - adds
config_only
andconfig_from
to support creating and using config only networks (ansible-collections#395). - docker_prune - add new options
builder_cache_all
,builder_cache_filters
, andbuilder_cache_keep_storage
, and a new return valuebuilder_cache_caches_deleted
for pruning build caches (ansible-collections#844, ansible-collections#845). - docker_swarm_service - adds
sysctls
to support sysctl settings on swarm services (ansible-collections#190).
- docker_compose - the Docker Compose v1 module is deprecated and will be removed from community.docker 4.0.0. Please migrate to the
community.docker.docker_compose_v2
module, which works with Docker Compose v2 (ansible-collections#823, ansible-collections#833). - various modules and plugins - the
ssl_version
option has been deprecated and will be removed from community.docker 4.0.0. It has already been removed from Docker SDK for Python 7.0.0, and was only necessary in the past to work around SSL/TLS issues (ansible-collections#853).
Bugfix and feature release.
- The EE requirements now include PyYAML, since the
docker_compose_v2*
modules depend on it when thedefinition
option is used. This should not have a noticable effect on generated EEs since ansible-core itself depends on PyYAML as well, and ansible-builder explicitly ignores this dependency (ansible-collections#832). - docker_compose_v2* - the new option
check_files_existing
allows to disable the check for one of the filescompose.yaml
,compose.yml
,docker-compose.yaml
, anddocker-compose.yml
inproject_src
iffiles
is not specified. This is necessary if a non-standard compose filename is specified through other means, like theCOMPOSE_FILE
environment variable (ansible-collections#838, ansible-collections#839). - docker_compose_v2* modules - allow to provide an inline definition of the compose content instead of having to provide a
project_src
directory with the compose file written into it (ansible-collections#829, ansible-collections#832). - vendored Docker SDK for Python - remove unused code that relies on functionality deprecated in Python 3.12 (ansible-collections#834).
- docker_compose_v2* - allow
project_src
to be a relative path, by converting it to an absolute path before using it (ansible-collections#827, ansible-collections#828). - docker_compose_v2* modules - abort with a nice error message instead of crash when the Docker Compose CLI plugin version is
dev
(ansible-collections#825, ansible-collections#826). - inventory plugins - add unsafe wrapper to avoid marking strings that do not contain
{
or}
as unsafe, to work around a bug in AWX (ansible-collections#835).
Bugfix release
- docker_containers, docker_machine, and docker_swarm inventory plugins - make sure all data received from the Docker daemon / Docker machine is marked as unsafe, so remote code execution by obtaining texts that can be evaluated as templates is not possible (https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/, ansible-collections#815).
- docker_compose_v2 - do not fail when non-fatal errors occur. This can happen when pulling an image fails, but then the image can be built for another service. Docker Compose emits an error in that case, but
docker compose up
still completes successfully (ansible-collections#807, ansible-collections#810, ansible-collections#811). - docker_compose_v2* modules - correctly parse
Warning
events emitted by Docker Compose (ansible-collections#807, ansible-collections#811). - docker_compose_v2* modules - parse
logfmt
warnings emitted by Docker Compose (ansible-collections#787, ansible-collections#811). - docker_compose_v2_pull - fixing idempotence by checking actual pull progress events instead of service-level pull request when
policy=always
. This stops the module from reportingchanged=true
if no actual change happened when pulling. In check mode, it has to assume that a change happens though (ansible-collections#813, ansible-collections#814).
Bugfix and feature release.
- docker_compose_v2 - allow to wait until containers are running/health when running
docker compose up
with the newwait
option (ansible-collections#794, ansible-collections#796). - docker_container - the
pull_check_mode_behavior
option now allows to control the module's behavior in check mode whenpull=always
(ansible-collections#792, ansible-collections#797). - docker_container - the
pull
option now accepts the three valuesnever
,missing_image
(default), andnever
, next to the previously valid valuestrue
(equivalent toalways
) andfalse
(equivalent tomissing_image
). This allows the equivalent to--pull=never
from the Docker command line (ansible-collections#783, ansible-collections#797).
- docker_compose_v2 - do not consider a
Waiting
event as an action/change (ansible-collections#804). - docker_compose_v2 - do not treat service-level pull events as changes to avoid incorrect
changed=true
return value ofpull=always
(ansible-collections#802, ansible-collections#803). - docker_compose_v2, docker_compose_v2_pull - fix parsing of pull messages for Docker Compose 2.20.0 (ansible-collections#785, ansible-collections#786).
Bugfix and feature release.
- docker_compose_v2 - add
scale
option to allow to explicitly scale services (ansible-collections#776). - docker_compose_v2, docker_compose_v2_pull - support
files
parameter to specify multiple Compose files (ansible-collections#772, ansible-collections#775).
- docker_compose_v2 - properly parse dry-run build events from
stderr
(ansible-collections#778, ansible-collections#779). - docker_compose_v2_pull - the module was documented as part of the
community.docker.docker
action group, but was not actually part of it. That has now been fixed (ansible-collections#773).
- community.docker.docker_image_export - Export (archive) Docker images
Bugfix and feature release.
The collection now includes a bunch of new docker_image_*
modules that move features out of the
rather complex docker_image
module. These new modules are easier to use and can better declare whether
they support check mode, diff mode, or none of them.
This version also features modules that support the Docker CLI plugins buildx
and compose
.
The docker_image_build
module uses the docker buildx
command under the hood, and the docker_compose_v2
and docker_compose_v2_pull
modules uses the docker compose
command. All these modules use the Docker CLI
instead of directly talking to the API. The modules support mostly the same interface as the API based modules,
so the main difference is that instead of some Python requirements, they depend on the Docker CLI tool docker
.
- The
community.docker
collection now depends on thecommunity.library_inventory_filtering_v1
collection. This utility collection provides host filtering functionality for inventory plugins. If you use the Ansible community package, both collections are included and you do not have to do anything special. If you install the collection withansible-galaxy collection install
, it will be installed automatically. If you install the collection by copying the files of the collection to a place where ansible-core can find it, for example by cloning the git repository, you need to make sure that you also have to install the dependency if you are using the inventory plugins (ansible-collections#698).
- The
ca_cert
option available to almost all modules and plugins has been renamed toca_path
. The nameca_path
is also used for similar options in ansible-core and other collections. The old name has been added as an alias and can still be used (ansible-collections#744). - The
docker_stack*
modules now use the common CLI-based module code added for thedocker_image_build
anddocker_compose_v2
modules. This means that the modules now have various more configuration options with respect to talking to the Docker Daemon, and now also are part of thecommunity.docker.docker
anddocker
module default groups (ansible-collections#745). - docker_container - add
networks[].mac_address
option for Docker API 1.44+. Note that Docker API 1.44 no longer uses the globalmac_address
option, this new option is the only way to set the MAC address for a container (ansible-collections#763). - docker_image - allow to specify labels and
/dev/shm
size when building images (ansible-collections#726, ansible-collections#727). - docker_image - allow to specify memory size and swap memory size in other units than bytes (ansible-collections#727).
- inventory plugins - add
filter
option which allows to include and exclude hosts based on Jinja2 conditions (ansible-collections#698, ansible-collections#610).
- Use
unix:///var/run/docker.sock
instead of the legacyunix://var/run/docker.sock
as default fordocker_host
(ansible-collections#736). - docker_image - fix archiving idempotency with Docker API 1.44 or later (ansible-collections#765).
- community.docker.docker_compose_v2 - Manage multi-container Docker applications with Docker Compose CLI plugin
- community.docker.docker_compose_v2_pull - Pull a Docker compose project
- community.docker.docker_image_build - Build Docker images using Docker buildx
- community.docker.docker_image_pull - Pull Docker images from registries
- community.docker.docker_image_push - Push Docker images to registries
- community.docker.docker_image_remove - Remove Docker images
- community.docker.docker_image_tag - Tag Docker images with new names and/or tags
Bugfix and feature release.
- docker_container - implement better
platform
string comparisons to improve idempotency (ansible-collections#654, ansible-collections#705). - docker_container - internal refactorings which allow comparisons to use more information like details of the current image or the Docker host config (ansible-collections#713).
- docker_container - the default
ignore
for theimage_name_mismatch
parameter has been deprecated and will switch torecreate
in community.docker 4.0.0. A deprecation warning will be printed in situations where the default value is used and where a behavior would change once the default changes (ansible-collections#703).
- modules and plugins using the Docker SDK for Python - remove
ssl_version
from the parameters passed to Docker SDK for Python 7.0.0+. Explicitly fail with a nicer error message if it was explicitly set in this case (ansible-collections#715). - modules and plugins using the Docker SDK for Python - remove
tls_hostname
from the parameters passed to Docker SDK for Python 7.0.0+. Explicitly fail with a nicer error message if it was explicitly set in this case (ansible-collections#721). - vendored Docker SDK for Python - avoid passing on
ssl_version
andtls_hostname
if they were not provided by the user. Remove dead code. (ansible-collections#722).
Bugfix release.
- docker_volume - fix crash caused by accessing an empty dictionary. The
has_different_config()
was raising anAttributeError
because theself.existing_volume["Labels"]
dictionary wasNone
(ansible-collections#702).
Bugfix release.
- docker_swarm - make init and join operations work again with Docker SDK for Python before 4.0.0 (ansible-collections#695, ansible-collections#696).
Maintenance release with updated documentation and vendored Docker SDK for Python code.
- vendored Docker SDK for Python code - cherry-pick changes from the Docker SDK for Python code to align code. These changes should not affect the parts used by the collection's code (ansible-collections#694).
Maintenance release with updated documentation.
From this version on, community.docker is using the new Ansible semantic markup in its documentation. If you look at documentation with the ansible-doc CLI tool from ansible-core before 2.15, please note that it does not render the markup correctly. You should be still able to read it in most cases, but you need ansible-core 2.15 or later to see it as it is intended. Alternatively you can look at the devel docsite for the rendered HTML version of the documentation of the latest release.
- Ansible markup will show up in raw form on ansible-doc text output for ansible-core before 2.15. If you have trouble deciphering the documentation markup, please upgrade to ansible-core 2.15 (or newer), or read the HTML documentation on https://docs.ansible.com/ansible/devel/collections/community/docker/.
Bugfix release.
- docker_swarm_info - if
service=true
is used, do not crash when a service without an endpoint spec is encountered (ansible-collections#636, ansible-collections#637).
Bugfix release with documentation warnings about using certain functionality when connecting to the Docker daemon with TCP TLS.
- socket_handler module utils - make sure this fully works when Docker SDK for Python is not available (ansible-collections#620).
- vendored Docker SDK for Python code - fix for errors on pipe close in Windows (ansible-collections#619).
- vendored Docker SDK for Python code - respect timeouts on Windows named pipes (ansible-collections#619).
- vendored Docker SDK for Python code - use
poll()
instead ofselect()
except on Windows (ansible-collections#619).
- docker_api connection plugin - does not work with TCP TLS sockets! This is caused by the inability to send an
close_notify
TLS alert without closing the connection with Python'sSSLSocket
(ansible-collections#605, ansible-collections#621). - docker_container_exec - does not work with TCP TLS sockets when the
stdin
option is used! This is caused by the inability to send anclose_notify
TLS alert without closing the connection with Python'sSSLSocket
(ansible-collections#605, ansible-collections#621).
Maintenance release which adds compatibility with requests 2.29.0 and 2.30.0 and urllib3 2.0.
- Make vendored Docker SDK for Python code compatible with requests 2.29.0 and urllib3 2.0 (ansible-collections#613).
Maintenance release with updated EE requirements and updated documentation.
- Restrict requests to versions before 2.29.0, and urllib3 to versions before 2.0.0. This is necessary until the vendored code from Docker SDK for Python has been fully adjusted to work with a feature of urllib3 that is used since requests 2.29.0 (ansible-collections#611, ansible-collections#612).
- The modules and plugins using the vendored code from Docker SDK for Python currently do not work with requests 2.29.0 and/or urllib3 2.0.0. The same is currently true for the latest version of Docker SDK for Python itself (ansible-collections#611, ansible-collections#612).
Maintenance release with improved documentation.
Bugfix release.
- docker_prune - return correct value for
changed
. So far the module always claimed that nothing changed (ansible-collections#593).
Regular bugfix release.
- docker_api connection plugin, docker_container_exec, docker_container_copy_into - properly close socket to Daemon after executing commands in containers (ansible-collections#582).
- docker_container - fix
tmfs_size
andtmpfs_mode
not being set (ansible-collections#580). - various plugins and modules - remove unnecessary imports (ansible-collections#574).
Regular bugfix and feature release.
- docker_api connection plugin - when copying files to/from a container, stream the file contents instead of first reading them to memory (ansible-collections#545).
- docker_host_info - allow to list all containers with new option
containers_all
(ansible-collections#535, ansible-collections#538).
- docker_api connection plugin - fix error handling when 409 Conflict is returned by the Docker daemon in case of a stopped container (ansible-collections#546).
- docker_container_exec - fix error handling when 409 Conflict is returned by the Docker daemon in case of a stopped container (ansible-collections#546).
- docker_plugin - do not crash if plugin is installed in check mode (ansible-collections#552, ansible-collections#553).
- most modules - fix handling of
DOCKER_TIMEOUT
environment variable, and improve handling of other fallback environment variables (ansible-collections#551, ansible-collections#554).
- community.docker.docker_container_copy_into - Copy a file into a Docker container
Bugfix release.
- docker_container - when
detach=false
, wait indefinitely and not at most one minute. This was the behavior with Docker SDK for Python, and was accidentally changed in 3.0.0 (ansible-collections#526, ansible-collections#527).
Bugfix release.
- current_container_facts - make container detection work better in more cases (ansible-collections#522).
Feature and bugfix release.
- current_container_facts - make work with current Docker version, also support Podman (ansible-collections#510).
- docker_image - when using
archive_path
, detect whether changes are necessary based on the image ID (hash). If the existing tar archive matches the source, do nothing. Previously, each task execution re-created the archive (ansible-collections#500).
- docker_container_exec - fix
chdir
option which was ignored since community.docker 3.0.0 (ansible-collections#517, ansible-collections#518). - vendored latest Docker SDK for Python bugfix (ansible-collections#513, docker/docker-py#3045).
Bugfix release.
- docker_container - the
kill_signal
option erroneously did not accept strings anymore since 3.0.0 (ansible-collections#505, ansible-collections#506).
Maintenance release with improved documentation.
Feature and deprecation release.
- docker_container - added
image_name_mismatch
option which allows to control the behavior if the container uses the image specified, but the container's configuration uses a different name for the image than the one provided to the module (ansible-collections#485, ansible-collections#488).
- docker_container - the
ignore_image
option is deprecated and will be removed in community.docker 4.0.0. Useimage: ignore
incomparisons
instead (ansible-collections#487). - docker_container - the
purge_networks
option is deprecated and will be removed in community.docker 4.0.0. Usenetworks: strict
incomparisons
instead, and make sure to providenetworks
, with value[]
if all networks should be removed (ansible-collections#487).
Feature release.
- The collection repository conforms to the REUSE specification except for the changelog fragments (ansible-collections#462).
- docker_swarm - allows usage of the
data_path_port
parameter when initializing a swarm (ansible-collections#296).
Bugfix release.
- docker_image - fix build argument handling (ansible-collections#455, ansible-collections#456).
Bugfix release.
- docker_container - fix handling of
env_file
(ansible-collections#451, ansible-collections#452).
The 3.0.0 release features a rewrite of the docker_container
module, and many modules and plugins no longer depend on the Docker SDK for Python.
- The collection now contains vendored code from the Docker SDK for Python to talk to the Docker daemon. Modules and plugins using this code no longer need the Docker SDK for Python installed on the machine the module or plugin is running on (ansible-collections#398).
- docker_api connection plugin - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#414). - docker_container - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#422). - docker_container - the module was completely rewritten from scratch (ansible-collections#422).
- docker_container_exec - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#401). - docker_container_info - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#402). - docker_containers inventory plugin - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#413). - docker_host_info - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#403). - docker_image - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#404). - docker_image_info - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#405). - docker_image_load - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#406). - docker_login - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#407). - docker_network - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#408). - docker_network_info - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#409). - docker_plugin - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#429). - docker_prune - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#410). - docker_volume - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#411). - docker_volume_info - no longer uses the Docker SDK for Python. It requires
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (ansible-collections#412).
- All software licenses are now in the
LICENSES/
directory of the collection root. Moreover,SPDX-License-Identifier:
is used to declare the applicable license for every file that is not automatically generated (ansible-collections#430). - Remove vendored copy of
distutils.version
in favor of vendored copy included with ansible-core 2.12+. For ansible-core 2.11, usesdistutils.version
for Python < 3.12. There is no support for ansible-core 2.11 with Python 3.12+ (ansible-collections#271). - docker_container - add a new parameter
image_comparison
to control the behavior for which image will be used for idempotency checks (ansible-collections#421, ansible-collections#428). - docker_container - add support for
cgroupns_mode
(ansible-collections#338, ansible-collections#427). - docker_container - allow to specify
platform
(ansible-collections#123, ansible-collections#426). - modules and plugins communicating directly with the Docker daemon - improve default TLS version selection for Python 3.6 and newer. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434).
- modules and plugins communicating directly with the Docker daemon - simplify use of helper function that was removed in Docker SDK for Python to find executables (ansible-collections#438).
- socker_handler and socket_helper module utils - improve Python forward compatibility, create helper functions for file blocking/unblocking (ansible-collections#415).
- This collection does not work with ansible-core 2.11 on Python 3.12+. Please either upgrade to ansible-core 2.12+, or use Python 3.11 or earlier (ansible-collections#271).
- docker_container -
exposed_ports
is no longer ignored incomparisons
. Before, its value was assumed to be identical with the value ofpublished_ports
(ansible-collections#422). - docker_container -
log_options
can no longer be specified whenlog_driver
is not specified (ansible-collections#422). - docker_container -
publish_all_ports
is no longer ignored incomparisons
(ansible-collections#422). - docker_container -
restart_retries
can no longer be specified whenrestart_policy
is not specified (ansible-collections#422). - docker_container -
stop_timeout
is no longer ignored for idempotency if told to be not ignored incomparisons
. So far it defaulted toignore
there, and setting it tostrict
had no effect (ansible-collections#422). - modules and plugins communicating directly with the Docker daemon - when connecting by SSH and not using
use_ssh_client=true
, reject unknown host keys instead of accepting them. This is only a breaking change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434).
- Execution Environments built with community.docker no longer include docker-compose < 2.0.0. If you need to use it with the
docker_compose
module, please install that requirement manually (ansible-collections#400). - Support for Ansible 2.9 and ansible-base 2.10 has been removed. If you need support for Ansible 2.9 or ansible-base 2.10, please use community.docker 2.x.y (ansible-collections#400).
- Support for Docker API versions 1.20 to 1.24 has been removed. If you need support for these API versions, please use community.docker 2.x.y (ansible-collections#400).
- Support for Python 2.6 has been removed. If you need support for Python 2.6, please use community.docker 2.x.y (ansible-collections#400).
- Various modules - the default of
tls_hostname
(localhost
) has been removed. If you want to continue usinglocalhost
, you need to specify it explicitly (ansible-collections#363). - docker_container - the
all
value is no longer allowed inpublished_ports
. Usepublish_all_ports=true
instead (ansible-collections#399). - docker_container - the default of
command_handling
was changed fromcompatibility
tocorrect
. Older versions were warning for every invocation of the module when this would result in a change of behavior (ansible-collections#399). - docker_stack - the return values
out
anderr
have been removed. Usestdout
andstderr
instead (ansible-collections#363).
- modules and plugins communicating directly with the Docker daemon - when connecting by SSH and not using
use_ssh_client=true
, reject unknown host keys instead of accepting them. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434).
- docker_image - when composing the build context, trim trailing whitespace from
.dockerignore
entries. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434). - docker_plugin - fix crash when handling plugin options (ansible-collections#446, ansible-collections#447).
- docker_stack - fix broken string formatting when reporting error in case
compose
was containing invalid values (ansible-collections#448). - modules and plugins communicating directly with the Docker daemon - do not create a subshell for SSH connections when using
use_ssh_client=true
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434). - modules and plugins communicating directly with the Docker daemon - fix
ProxyCommand
handling for SSH connections when not usinguse_ssh_client=true
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434). - modules and plugins communicating directly with the Docker daemon - fix parsing of IPv6 addresses with a port in
docker_host
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (ansible-collections#434). - modules and plugins communicating directly with the Docker daemon - prevent crash when TLS is used (ansible-collections#432).
Bugfix and deprecation release. The next 2.x.y releases will only be bugfix releases, the next expect minor/major release will be 3.0.0 with some major changes.
- Move common utility functions from the
common
module_util to a new module_util calledutil
. This should not have any user-visible effect (ansible-collections#390).
- Support for Docker API version 1.20 to 1.24 has been deprecated and will be removed in community.docker 3.0.0. The first Docker version supporting API version 1.25 was Docker 1.13, released in January 2017. This affects the modules
docker_container
,docker_container_exec
,docker_container_info
,docker_compose
,docker_login
,docker_image
,docker_image_info
,docker_image_load
,docker_host_info
,docker_network
,docker_network_info
,docker_node_info
,docker_swarm_info
,docker_swarm_service
,docker_swarm_service_info
,docker_volume_info
, anddocker_volume
, whose minimally supported API version is between 1.20 and 1.24 (ansible-collections#396). - Support for Python 2.6 is deprecated and will be removed in the next major release (community.docker 3.0.0). Some modules might still work with Python 2.6, but we will no longer try to ensure compatibility (ansible-collections#388).
- Docker SDK for Python based modules and plugins - if the API version is specified as an option, use that one to validate API version requirements of module/plugin options instead of the latest API version supported by the Docker daemon. This also avoids one unnecessary API call per module/plugin (ansible-collections#389).
Bugfix and feature release.
- docker_container - added
image_label_mismatch
parameter (ansible-collections#314, ansible-collections#370).
- Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be removed in the next major release (community.docker 3.0.0). Some modules might still work with these versions afterwards, but we will no longer keep compatibility code that was needed to support them (ansible-collections#361).
- The dependency on docker-compose for Execution Environments is deprecated and will be removed in community.docker 3.0.0. The Python docker-compose library is unmaintained and can cause dependency issues. You can manually still install it in an Execution Environment when needed (ansible-collections#373).
- Various modules - the default of
tls_hostname
that was supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (ansible-collections#362). - docker_stack - the return values
out
anderr
that were supposed to be removed in community.docker 2.0.0 will now be removed in version 3.0.0 (ansible-collections#362).
- docker_container - fail with a meaningful message instead of crashing if a port is specified with more than three colon-separated parts (ansible-collections#367, ansible-collections#365).
- docker_container - remove unused code that will cause problems with Python 3.13 (ansible-collections#354).
Maintenance release.
- Include
PSF-license.txt
file forplugins/module_utils/_version.py
.
Regular feature release.
- docker_config - add support for
template_driver
with one optiongolang
(ansible-collections#332, ansible-collections#345). - docker_swarm - adds
data_path_addr
parameter during swarm initialization or when joining (ansible-collections#339).
Regular feature and bugfix release.
- Prepare collection for inclusion in an Execution Environment by declaring its dependencies. The
docker_stack*
modules are not supported (ansible-collections#336). - current_container_facts - add detection for GitHub Actions (ansible-collections#336).
- docker_container - support returning Docker container log output when using Docker's
local
logging driver, an optimized local logging driver introduced in Docker 18.09 (ansible-collections#337).
- docker connection plugin - make sure that
docker_extra_args
is used for querying the Docker version. Also ensures that the Docker version is only queried when needed. This is currently the case if a remote user is specified (ansible-collections#325, ansible-collections#327).
Regular feature and bugfix release.
- docker connection plugin - implement connection reset by clearing internal container user cache (ansible-collections#312).
- docker connection plugin - simplify
actual_user
handling code (ansible-collections#311). - docker connection plugin - the plugin supports new ways to define the timeout. These are the
ANSIBLE_DOCKER_TIMEOUT
environment variable, thetimeout
setting in thedocker_connection
section ofansible.cfg
, and theansible_docker_timeout
variable (ansible-collections#297). - docker_api connection plugin - implement connection reset by clearing internal container user/group ID cache (ansible-collections#312).
- docker_api connection plugin - the plugin supports new ways to define the timeout. These are the
ANSIBLE_DOCKER_TIMEOUT
environment variable, thetimeout
setting in thedocker_connection
section ofansible.cfg
, and theansible_docker_timeout
variable (ansible-collections#308).
- docker connection plugin - fix option handling to be compatible with ansible-core 2.13 (ansible-collections#297, ansible-collections#307).
- docker_api connection plugin - fix option handling to be compatible with ansible-core 2.13 (ansible-collections#308).
Regular bugfix release.
- docker_compose - fix Python 3 type error when extracting warnings or errors from docker-compose's output (ansible-collections#305).
Regular feature and bugfix release.
- docker_config - add support for rolling update, set
rolling_versions
totrue
to enable (ansible-collections#295, ansible-collections#109). - docker_secret - add support for rolling update, set
rolling_versions
totrue
to enable (ansible-collections#293, ansible-collections#21). - docker_swarm_service - add support for setting capabilities with the
cap_add
andcap_drop
parameters. Usage is the same as with thecapabilities
andcap_drop
parameters fordocker_container
(ansible-collections#294).
- docker_container, docker_image - adjust image finding code to peculiarities of
podman-docker
's API emulation when Docker short names likeredis
are used (ansible-collections#292).
Emergency release to amend breaking change in previous release.
- Fix unintended breaking change caused by an earlier fix by vendoring the deprecated Python standard library
distutils.version
until this collection stops supporting Ansible 2.9 and ansible-base 2.10 (ansible-collections#267, ansible-collections#269).
Feature and bugfix release.
- docker_container_exec - add
detach
parameter (ansible-collections#250, ansible-collections#255). - docker_container_exec - add
env
option (ansible-collections#248, ansible-collections#254).
- Various modules and plugins - use vendored version of
distutils.version
included in ansible-core 2.12 if available. This avoids breakage whendistutils
is removed from the standard library of Python 3.12. Note that ansible-core 2.11, ansible-base 2.10 and Ansible 2.9 are right now not compatible with Python 3.12, hence this fix does not target these ansible-core/-base/2.9 versions (ansible-collections#258). - docker connection plugin - replace deprecated
distutils.spawn.find_executable
with Ansible'sget_bin_path
to find thedocker
executable (ansible-collections#257). - docker_container_exec - disallow using the
chdir
option for Docker API before 1.35 (ansible-collections#253).
Bugfix release.
- docker_api connection plugin - avoid passing an unnecessary argument to a Docker SDK for Python call that is only supported by version 3.0.0 or later (ansible-collections#243).
- docker_container_exec -
chdir
is only supported since Docker SDK for Python 3.0.0. Make sure that this option can only use when 3.0.0 or later is installed, and prevent passing this parameter on whenchdir
is not provided to this module (ansible-collections#243, ansible-collections#242). - nsenter connection plugin - ensure the
nsenter_pid
option is retrieved in_connect
instead of__init__
to prevent a crash due to bad initialization order (ansible-collections#249). - nsenter connection plugin - replace the use of
--all-namespaces
with specific namespaces to support compatibility with Busybox nsenter (used on, for example, Alpine containers) (ansible-collections#249).
Maintenance release with some documentation fixes.
New major release with some deprecations removed and a breaking change in the docker_compose
module regarding the timeout
parameter.
- docker_compose - fixed
timeout
defaulting behavior so thatstop_grace_period
, if defined in the compose file, will be used iftimeout
is not specified (ansible-collections#163).
- docker_container - using the special value
all
inpublished_ports
has been deprecated. Usepublish_all_ports=true
instead (ansible-collections#210).
- docker_container - the default value of
container_default_behavior
changed tono_defaults
(ansible-collections#210). - docker_container - the default value of
network_mode
is now the name of the first network specified innetworks
if such are specified andnetworks_cli_compatible=true
(ansible-collections#210). - docker_container - the special value
all
can no longer be used inpublished_ports
next to other values. Please usepublish_all_ports=true
instead (ansible-collections#210). - docker_login - removed the
email
option (ansible-collections#210).
Regular feature and bugfix release.
- Add the modules docker_container_exec, docker_image_load and docker_plugin to the
docker
module defaults group (ansible-collections#209). - docker_config - add option
data_src
to read configuration data from target (ansible-collections#64, ansible-collections#203). - docker_secret - add option
data_src
to read secret data from target (ansible-collections#64, ansible-collections#203).
Regular bugfix release.
- docker_compose - fixed incorrect
changed
status for services withprofiles
defined, but none enabled (ansible-collections#192).
New bugfixes and features release.
- docker_* modules - include
ImportError
traceback when reporting that Docker SDK for Python could not be found (ansible-collections#188). - docker_compose - added
env_file
option for specifying custom environment files (ansible-collections#174). - docker_container - added
publish_all_ports
option to publish all exposed ports to random ports except those explicitly bound withpublished_ports
(this was already added in community.docker 1.8.0) (ansible-collections#162). - docker_container - added new
command_handling
option with current deprecated default valuecompatibility
which allows to control how the module handles shell quoting when interpreting lists, and how the module handles empty lists/strings. The default will switch tocorrect
in community.docker 3.0.0 (ansible-collections#186). - docker_container - lifted restriction preventing the creation of anonymous volumes with the
mounts
option (ansible-collections#181).
- docker_container - the new
command_handling
's default value,compatibility
, is deprecated and will change tocorrect
in community.docker 3.0.0. A deprecation warning is emitted by the module in cases where the behavior will change. Please note that ansible-core will output a deprecation warning only once, so if it is shown for an earlier task, there could be more tasks with this warning where it is not shown (ansible-collections#186).
- docker_compose - fixes task failures when bringing up services while using
docker-compose <1.17.0
(ansible-collections#180). - docker_container - make sure to also return
container
ondetached=false
when status code is non-zero (ansible-collections#178). - docker_stack_info - make sure that module isn't skipped in check mode (ansible-collections#183).
- docker_stack_task_info - make sure that module isn't skipped in check mode (ansible-collections#183).
- community.docker.nsenter - execute on host running controller container
Regular bugfix and feature release.
- Avoid internal ansible-core module_utils in favor of equivalent public API available since at least Ansible 2.9 (ansible-collections#164).
- docker_compose - added
profiles
option to specify service profiles when starting services (ansible-collections#167). - docker_containers inventory plugin - when
connection_type=docker-api
, now pass Docker daemon connection options from inventory plugin to connection plugin. This can be disabled by settingconfigure_docker_daemon=false
(ansible-collections#157). - docker_host_info - allow values for keys in
containers_filters
,images_filters
,networks_filters
, andvolumes_filters
to be passed as YAML lists (ansible-collections#160). - docker_plugin - added
alias
option to specify local names for docker plugins (ansible-collections#161).
- docker_compose - fix idempotence bug when using
stopped: true
(ansible-collections#142, ansible-collections#159).
Small feature and bugfix release.
- docker_image - allow to tag images by ID (ansible-collections#149).
Bugfix release to reduce deprecation warning spam.
- docker_* modules and plugins, except
docker_swarm
connection plugin anddocker_compose
anddocker_stack*` modules - only emit ``tls_hostname
deprecation message if TLS is actually used (ansible-collections#143).
Regular bugfix and feature release.
- common module utils - correct error messages for guiding to install proper Docker SDK for Python module (ansible-collections#125).
- docker_container - allow
memory_swap: -1
to set memory swap limit to unlimited. This is useful when the user cannot set memory swap limits due to cgroup limitations or other reasons, as by default Docker will try to set swap usage to two times the value ofmemory
(ansible-collections#138).
- docker_* modules and plugins, except
docker_swarm
connection plugin anddocker_compose
anddocker_stack*` modules - the current default ``localhost
fortls_hostname
is deprecated. In community.docker 2.0.0 it will be computed fromdocker_host
instead (ansible-collections#134).
- docker-compose - fix not pulling when
state: present
andstopped: true
(ansible-collections#12, ansible-collections#119). - docker_plugin - also configure plugin after installing (ansible-collections#118, ansible-collections#135).
- docker_swarm_services - avoid crash during idempotence check if
published_port
is not specified (ansible-collections#107, ansible-collections#136).
Regular feature release.
- Add the
use_ssh_client
option to most docker modules and plugins (ansible-collections#108, ansible-collections#114).
- all modules - use
to_native
to convert exceptions to strings (ansible-collections#121).
- community.docker.docker_container_exec - Execute command in a docker container
Security release to address another potential secret leak. Also includes regular bugfixes and features.
- docker_swarm_service - change
publish.published_port
option from mandatory to optional. Docker will assign random high port if not specified (ansible-collections#99).
- docker_swarm - if
join_token
is specified, a returned join token with the same value will be replaced byVALUE_SPECIFIED_IN_NO_LOG_PARAMETER
. Make sure that you do not blindly use the join tokens from the return value of this module when the module is invoked withjoin_token
specified! This breaking change appears in a minor release since it is necessary to fix a security issue (ansible-collections#103).
- docker_swarm - the
join_token
option is now marked asno_log
so it is no longer written into logs (ansible-collections#103).
docker_swarm_service
- fix KeyError on caused by reference to deprecated optionupdate_failure_action
(ansible-collections#100).- docker_swarm_service - mark
secrets
module option withno_log=False
since it does not leak secrets (ansible-collections/community.general#2001).
Regular feature and bugfix release.
- docker_container - add
storage_opts
option to specify storage options (ansible-collections#91, ansible-collections#93). - docker_image - allows to specify platform to pull for
source=pull
with new optionpull_platform
(ansible-collections#79, ansible-collections#89). - docker_image - properly support image IDs (hashes) for loading and tagging images (ansible-collections#86, ansible-collections#87).
- docker_swarm_service - adding support for maximum number of tasks per node (
replicas_max_per_node
) when running swarm service in replicated mode. Introduced in API 1.40 (ansible-collections#7, ansible-collections#92).
- docker_container - fix healthcheck disabling idempotency issue with strict comparison (ansible-collections#85).
- docker_image - prevent module failure when removing image that is removed between inspection and removal (ansible-collections#87).
- docker_image - prevent module failure when removing non-existent image by ID (ansible-collections#87).
- docker_image_info - prevent module failure when image vanishes between listing and inspection (ansible-collections#87).
- docker_image_info - prevent module failure when querying non-existent image by ID (ansible-collections#87).
- community.docker.docker_image_load - Load docker image(s) from archives
- community.docker.docker_plugin - Manage Docker plugins
Security bugfix release to address CVE-2021-20191.
- docker_swarm - enabled
no_log
for the optionsigning_ca_key
to prevent accidental disclosure (CVE-2021-20191, ansible-collections#80).
Bugfix release.
- docker connection plugin - fix Docker version parsing, as some docker versions have a leading
v
in the output of the commanddocker version --format "{{.Server.Version}}"
(ansible-collections#76).
Feature release with one new feature and two bugfixes.
- docker_container - added
default_host_ip
option which allows to explicitly set the default IP string for published ports without explicitly specified IPs. When using IPv6 binds with Docker 20.10.2 or newer, this needs to be set to an empty string (""
) (ansible-collections#70, ansible-collections#71).
- docker_container - allow IPv6 zones (RFC 4007) in bind IPs (ansible-collections#66).
- docker_image - fix crash on loading images with versions of Docker SDK for Python before 2.5.0 (ansible-collections#72, ansible-collections#73).
Feature release with three new plugins and modules.
- docker_container - support specifying
cgroup_parent
(ansible-collections#6, ansible-collections#59). - docker_container - when a container is started with
detached=false
,status
is now also returned when it is 0 (ansible-collections#26, ansible-collections#58). - docker_image - support
platform
when building images (ansible-collections#22, ansible-collections#54).
- docker_container - currently
published_ports
can contain port mappings next to the special valueall
, in which case the port mappings are ignored. This behavior is deprecated for community.docker 2.0.0, at which point it will either be forbidden, or this behavior will be properly implemented similar to how the Docker CLI tool handles this (ansible-collections#8, ansible-collections#60).
- docker_image - if
push=true
is used withrepository
, and the image does not need to be tagged, still push. This can happen ifrepository
andname
are equal (ansible-collections#52, ansible-collections#53). - docker_image - report error when loading a broken archive that contains no image (ansible-collections#46, ansible-collections#55).
- docker_image - report error when the loaded archive does not contain the specified image (ansible-collections#41, ansible-collections#55).
- community.docker.docker_api - Run tasks in docker containers
- community.docker.docker_containers - Ansible dynamic inventory plugin for Docker containers.
- community.docker.current_container_facts - Return facts about whether the module runs in a Docker container
Maintenance release with a bugfix for docker_container
.
- docker_container - the validation for
capabilities
indevice_requests
was incorrect (ansible-collections#42, ansible-collections#43).
This is the first production (non-prerelease) release of community.docker
.
- Add collection-side support of the
docker
action group / module defaults group (ansible-collections#17). - docker_image - return docker build output (ansible-collections/community.general#805).
- docker_secret - add a warning when the secret does not have an
ansible_key
label but theforce
parameter is not set (ansible-collections#30, ansible-collections#31).
The community.docker
continues the work on the Ansible docker modules and plugins from their state in community.general
1.2.0. The changes listed here are thus relative to the modules and plugins community.general.docker*
.
All deprecation removals planned for community.general
2.0.0 have been applied. All deprecation removals scheduled for community.general
3.0.0 have been re-scheduled for community.docker
2.0.0.
- docker_container - now supports the
device_requests
option, which allows to request additional resources such as GPUs (ansible/ansible#65748, ansible-collections/community.general#1119).
- docker_container - no longer returns
ansible_facts
(ansible-collections#1). - docker_container - the default of
networks_cli_compatible
changed totrue
(ansible-collections#1). - docker_container - the unused option
trust_image_content
has been removed (ansible-collections#1). - docker_image -
state=build
has been removed. Usepresent
instead (ansible-collections#1). - docker_image - the
container_limits
,dockerfile
,http_timeout
,nocache
,rm
,path
,buildargs
,pull
have been removed. Use the corresponding suboptions ofbuild
instead (ansible-collections#1). - docker_image - the
force
option has been removed. Use the more specificforce_*
options instead (ansible-collections#1). - docker_image - the
source
option is now mandatory (ansible-collections#1). - docker_image - the
use_tls
option has been removed. Usetls
andvalidate_certs
instead (ansible-collections#1). - docker_image - the default of the
build.pull
option changed tofalse
(ansible-collections#1). - docker_image_facts - this alias is on longer available, use
docker_image_info
instead (ansible-collections#1). - docker_network - no longer returns
ansible_facts
(ansible-collections#1). - docker_network - the
ipam_options
option has been removed. Useipam_config
instead (ansible-collections#1). - docker_service - no longer returns
ansible_facts
(ansible-collections#1). - docker_swarm -
state=inspect
has been removed. Usedocker_swarm_info
instead (ansible-collections#1). - docker_swarm_service - the
constraints
option has been removed. Useplacement.constraints
instead (ansible-collections#1). - docker_swarm_service - the
limit_cpu
andlimit_memory
options has been removed. Use the corresponding suboptions inlimits
instead (ansible-collections#1). - docker_swarm_service - the
log_driver
andlog_driver_options
options has been removed. Use the corresponding suboptions inlogging
instead (ansible-collections#1). - docker_swarm_service - the
reserve_cpu
andreserve_memory
options has been removed. Use the corresponding suboptions inreservations
instead (ansible-collections#1). - docker_swarm_service - the
restart_policy
,restart_policy_attempts
,restart_policy_delay
andrestart_policy_window
options has been removed. Use the corresponding suboptions inrestart_config
instead (ansible-collections#1). - docker_swarm_service - the
update_delay
,update_parallelism
,update_failure_action
,update_monitor
,update_max_failure_ratio
andupdate_order
options has been removed. Use the corresponding suboptions inupdate_config
instead (ansible-collections#1). - docker_volume - no longer returns
ansible_facts
(ansible-collections#1). - docker_volume - the
force
option has been removed. Userecreate
instead (ansible-collections#1).
- docker_login - fix internal config file storage to handle credentials for more than one registry (ansible-collections/community.general#1117).