Released: December 4th 2025
- Officially support Debian 13 (Trixie)
Released: October 19th 2025
- Fix Ansible 12 compatibility by updating conditionals to use proper boolean evaluation
- Add
community.dockeras a collection dependency
Released: June 18th 2025
- Document official Ubuntu 24.04 LTS support (it was always supported and worked)
Released: July 30th 2024
- Explicitly install the Docker CLI and rootless extras so they get updated
- Use the full Python binary path for
ansible_python_interpreter
Released: September 11th 2023
- Use
/etc/apt/keyringsinstead of/etc/apt/trusted.gpg.dfor Docker's GPG key
Released: September 10th 2023
- Remove
docker__editiondefault variable sinceceis the only choice,eeis long gone - Skip installing
docker-composev1 by default (you can still install it if you enable it) - Refactor handling APT repository GPG key to fix deprecation warnings
- Officially support Debian 12 (Bookworm)
Released: August 26th 2022
- Add support for installing Docker Compose v2 (with pinning support)
- Fix a bug where changing the daemon JSON options didn't restart Docker
- Fix a bug where you couldn't write out empty config files
- Allow pinning Docker version without needing to prefix the version with
5: - Enable BuildKit by default
- Add retries to all
aptmodule calls to make them more resilient to failure - Officially support Ubuntu 22.04 LTS and Debian 11
- Officially drop support for Ubuntu 18.04 LTS and Debian 9 (although they still work)
- Bump minimum Ansible version to 2.10.0 to start using collection namespaces
- Refactor a few internals and use a handler for reloading the systemd daemon
Released: January 23rd 2021
- Fix
~/.dockerfiles from always being owned by root (check the next line for details) - Add
docker__login_become_uservariable which defaults to the first user indocker__users - Set
virtualenv_pythonto usepython3in the pip task to fix systems having Python 2 and 3 installed - Add support for
aarch64CPU architecture
Released: May 19th 2020
- Backwards incompatible change:
python-dockerwas renamed topython3-docker - Fix symlink related issues with virtualenv when using virtualenv 20+
- Configure daemon before installing Docker to allow customizing certain things
- Support multiple CPU architecture types (amd64, arm64, armhf, armv7l)
- Officially support Ubuntu 20.04
- Remove all support for Python 2.x
- Officially remove support for Ubuntu 16.04
Released: February 13th 2020
- Add
gccas dependency since Docker Compose 1.25+ needs it - Add
python(3)-devas dependency since Docker Compose 1.25+ needs it - Fix Docker module import error so that you can use the
docker_*Ansible modules
Released: September 9th 2019
- Fix quote mismatch when writing environment variable based systemd configuration
Released: August 7th 2019
- Officially support Debian Buster
- Fix version pinning to work for both the
docker-ceanddocker-ce-clipackage - Add
docker__cron_jobs_prune_scheduleto configure the docker system prune schedule - Fix most Ansible 2.8.x warnings (purposely ignoring the apititude warning)
Released: December 19th 2018
- Change
docker__apt_key_servertodocker__apt_key_url docker__versionanddocker__compose_versionare back to being empty strings by default
Released: December 18th 2018
docker__versionanddocker__compose_versionare now both undefined by default- Change
docker__usersto default todocker__users: ["{{ ansible_env.SUDO_USER | d('root') }}"] - Check for an existing Docker Compose file before trying to symlink it
Released: December 15th 2018
- Docker and Docker Compose can now be installed to their latest versions by default
- A Virtualenv will be created for any PIP packages that get installed
- The
docker-composepackage is installed through PIP (complete with latest / version pinning) - The
dockerpackage is installed through PIP (all of Ansible'sdocker_*modules now work) - Symlinks are created to put
docker-composeandpython-dockeron the system's path - Better documentation to demonstrate how to downgrade / upgrade Docker versions
- Docker login's config path can now be configured
- Overall improved documentation and tests
- Remove
python-pipfromdocker__package_dependencies - Remove
docker__install_docker_compose - Remove
docker__compose_download_url - Remove
docker__default_daemon_json_log_max_size - Remove
docker__default_daemon_json_log_max_file - Add
docker__stateto control the Docker APT package's state - Add
docker__pip_dependenciesto install various APT dependencies to run PIP - Add
docker__pip_virtualenvto create a Virtualenv for PIP - Add
docker__default_pip_packagesto install default PIP packages - Add
docker__pip_packagesto install additional PIP packages - Add
docker__pip_docker_compose_stateto control the Docker Compose PIP package's state - Add
docker__pip_docker_stateto control the Docker PIP package's state - Add
config_pathproperty to thedocker__registrieslist - Add
docker__cron_jobs_prune_flagsto configure which prune flags get set - Change
docker__default_daemon_jsonto log to journald by default - Change
docker__channelfrom being a string to a list
Released: November 11th 2018
- Rename
docker__install_docker__composetodocker__install_docker_compose - Bump Docker Compose version to 1.23
- Change systemd options to use
-H unix://to be compatible with 18.09 by default - Install
python-pipapt package as a dependency for pip installingdocker - Pip install
dockerso Ansible'sdocker_loginanddocker_servicemodules work - Remove unnecessary "Remove Upstart config file" task
- Remove unnecessary "Install Python for managing Docker login credentials" task
- Remove unnecessary
enabled: truein the systemd restart handler (it starts on boot by default)
Released: October 31st 2018
- Rename
docker__daemon_optionstodocker__daemon_json - Rename
docker__daemon_options_log_max_sizetodocker__default_daemon_json_log_max_size - Rename
docker__daemon_options_log_max_filetodocker__default_daemon_json_log_max_file - Add
docker__daemon_flagsfor setting systemd unit file Docker daemon options - Add
docker__systemd_overridefor setting custom systemd directives for the Docker service - Rename
docker__cron_taskstodocker__cron_jobs cron_filecan now be configured with cron jobs to write out cron jobs in/etc/cron.d- Add
userto cron jobs since we're now usingcron_file - Drastically improve documentation
Released: October 21st 2018
- Variables are now using the
docker__*style instead ofdocker_* - Add configuration value for Docker Compose download URL
- Make style changes based on yamllint and ansible-lint
Released: October 11th 2018
- Remove ability to remove the
docker-*package - Add documentation on how to remove Docker if you need to downgrade versions
- Let Docker manage its own systemd unit file
- Allow environment configuration using the systemd
docker.service.d/*pattern
Released: October 9th 2018
- Add
-H fd://to the daemon options at the systemd unit file level - Update systemd unit file as per Docker's latest settings
- Convert to using
/etc/docker/daemon.jsonfor setting daemon options - Add variables to configure log size and max number of files
- Default to rotating logs after 10 gigs of space is used (was previously unlimited)
- System prune cron job now sets the
-aflag to remove unused images
Released: September 19th 2018
- Update role to be compliant and depend on Ansible 2.5+
- Add official support for Ubuntu 16.04 / 18.04 and Debian Jessie / Stretch
- Default to Docker v18.06
- Default to Docker Compose v1.22
- Default to the stable channel instead of edge
- Add support for configuring 1 or more registries (thanks to @Mykhailo Chalyi for starting this)
- Add ability to remove Docker by setting
docker__remove_package: True - Fix APT GPG key issues (thanks to @bidossessi for starting this)
- Add proper version pinning support
- Remove
docker__apt_package_namebecause the package name has been simplified thanks to pinning - Redirect system prune's cron output to
/dev/null - Extract Docker's package dependencies into
docker__package_dependencies - Add more tests
Released: April 13th 2018
- Default to Docker v18.04
- Default to Docker Compose v1.21
- Expose
docker__apt_package_nameto customize the APT package name
Released: March 28th 2018
- Default to Docker v18.03
- Default to Docker Compose v1.20
Released: February 14th 2018
- Default to Docker v18.02
- Default to Docker Compose v1.19
Released: January 25th 2018
- Change version strategy to be separate from Docker releases (it was a bad idea!)
- Change
docker__optionstodocker__daemon_options - Default to Docker v18.01 on the CE edge channel
- Fix systemd service so Docker loads after
network-online.targetinstead ofnetwork.target - Add cron job to clean up after Docker
- Add proper tests and support for Ubuntu 16, Debian Stretch and Debian Jessie
- Update format and style consistencies
Released: January 11th 2018
- Default to Docker v17.12 on the CE edge channel
- Default to Docker Compose v1.18
Released: June 28th 2017
- Default to Docker v17.06 on the CE edge channel
- Default to Docker Compose v1.14
- Update code base to support Docker's new version format
Released: October 9th 2016
- Fix apt.cache https could not be found error
Released: October 9th 2016
- Fix issue where
docker-enginepackage was not found
Released: October 8th 2016
- Initial release