Introduction
community.docker is the Ansible collection that provides modules and plugins to manage Docker containers, images, networks, volumes, and Docker Compose v2 stacks. Version 5.4.1 is a bugfix release that follows 5.4.0 and fixes two specific issues in the Compose v2 integration.
Whats New
This release contains no new features and no breaking changes compared to 5.4.0. It only ships two bugfixes:
docker_compose_v2_pull- the module now handles more old-style status messages returned bydocker compose pull((#1337)).docker_compose_v2_run- fixed so thatinteractive=falseactually works as expected, instead of being ignored or producing incorrect behavior ((#1324, #1333)).
Anyone using docker_compose_v2_pull against Docker daemons/CLI versions that emit older-style pull status output, or anyone relying on docker_compose_v2_run with interactive: false in automation (e.g. CI pipelines), should update to 5.4.1.
Affected Modules
| Module | Issue Fixed |
|---|---|
docker_compose_v2_pull | Parsing of legacy/old-style pull status messages |
docker_compose_v2_run | interactive=false not being honored |
How to Test
Install or upgrade the collection from Ansible Galaxy and verify the installed version:
ansible-galaxy collection install community.docker:5.4.1 --force
ansible-galaxy collection list community.docker
Quick functional check for the docker_compose_v2_run fix with interactive=false:
ansible localhost -m community.docker.docker_compose_v2_run -a "project_src=/path/to/compose/project service=myservice interactive=false"
And for docker_compose_v2_pull against an existing Compose project:
ansible localhost -m community.docker.docker_compose_v2_pull -a "project_src=/path/to/compose/project"
Conclusion
Version 5.4.1 of community.docker is a small, targeted bugfix release. Users who were hitting the old-style status message parsing error in docker_compose_v2_pull or the broken interactive=false behavior in docker_compose_v2_run should upgrade; everyone else can treat this as a routine maintenance update.