Forge Home

docker

Module for installing and managing docker

34,696,546 downloads

6,430 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 10.0.1 (latest)
  • 10.0.0
  • 9.1.0
  • 9.0.1
  • 8.0.0
  • 7.0.0
  • 6.1.0
  • 6.0.2
  • 6.0.1
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.4.0
  • 4.3.0
  • 4.2.1
  • 4.2.0
  • 4.1.2
  • 4.1.1
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.14.0
  • 3.13.1
  • 3.13.0
  • 3.12.1
  • 3.12.0
  • 3.11.0
  • 3.10.2
  • 3.10.1
  • 3.10.0
  • 3.9.1
  • 3.9.0
  • 3.8.0
  • 3.7.0
  • 3.6.0
  • 3.5.0
  • 3.4.0
  • 3.3.0
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.0.0
  • 1.1.0
  • 1.0.5
  • 1.0.4
  • 1.0.3 (deleted)
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Jul 12th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , , ,
Tasks:
  • service_rm
  • service_scale
  • node_ls
  • node_rm
  • node_update
  • service_create
  • service_update
  • and 5 more. See all tasks

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-docker', '10.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-docker
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-docker --version 10.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppetlabs/docker — version 10.0.1 Jul 12th 2024

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v10.0.1 - 2024-07-12

Full Changelog

Fixed

  • systemd service overrides: restore whitespace to pre-conversion #983 (kenyon)

v10.0.0 - 2024-07-04

Full Changelog

Changed

  • Use the docker-compose-plugin via 'docker compose' instead of 'docker-compose' #975 (nathanlcarlson)

Fixed

  • (CAT-1143)-Conversion_of_erb_templates_to_epp #944 (praj1001)

v9.1.0 - 2023-07-19

Full Changelog

Added

v9.0.1 - 2023-07-06

Full Changelog

Fixed

  • (CONT-1196) - Remove deprecated function merge #935 (Ramesh7)

v8.0.0 - 2023-07-05

Full Changelog

Changed

Added

v7.0.0 - 2023-05-02

Full Changelog

Changed

v6.1.0 - 2023-04-28

Full Changelog

Added

Fixed

  • Fix docker fact with recent version of docker #897 (smortex)
  • Use puppet yaml helper to workaround psych >4 breaking changes #877 (gfargeas)

v6.0.2 - 2022-12-08

Full Changelog

Fixed

v6.0.1 - 2022-11-25

Full Changelog

Fixed

  • Revert "(maint) Hardening manifests and tasks" #875 (pmcmaw)

v6.0.0 - 2022-11-21

Full Changelog

Changed

  • (CONT-263) Bumping required puppet version #871 (LukasAud)
  • docker_run_flags: Shellescape any provided values #869 (LukasAud)
  • (maint) Hardening manifests and tasks #863 (LukasAud)

v5.1.0 - 2022-10-21

Full Changelog

Added

  • Add missing extra_systemd_parameters values to docker-run.erb #851 (cbowman0)

Fixed

  • pdksync - (CONT-130) Dropping Support for Debian 9 #859 (jordanbreen28)
  • Change stop_wait_time value to match Docker default #858 (sebcdri)

v5.0.0 - 2022-08-19

Full Changelog

Changed

Added

v4.4.0 - 2022-06-01

Full Changelog

Added

  • Update Docker Compose to handle symbols #834 (sili72)

Fixed

  • Avoid empty array to -net parameter #837 (chelnak)
  • (GH-785) Fix duplicate stack matching #836 (chelnak)
  • Fix docker-compose, network and volumes not applying on 1st run, fix other idempotency #833 (canihavethisone)
  • Fixed docker facts to check for active swarm clusters before running docker swarm sub-commands. #817 (nmaludy)

v4.3.0 - 2022-05-16

Full Changelog

Added

  • Add tmpdir option to docker_compose #823 (canihavethisone)
  • Support different Architectures (like aarch64) when installing Compose #812 (mpdude)

Fixed

v4.2.1 - 2022-04-14

Full Changelog

Fixed

  • Fix permission denied issue introduced in v4.2.0 #820 (chelnak)

v4.2.0 - 2022-04-11

Full Changelog

Added

Fixed

v4.1.2 - 2021-09-27

Full Changelog

Fixed

v4.1.1 - 2021-08-26

Full Changelog

Fixed

  • (IAC-1741) Allow stdlib v8.0.0 #767 (david22swan)
  • Remove stderr empty check to avoid docker_params_changed failures when warnings appear #764 (cedws)
  • Duplicate declaration statement: docker_params_changed is already declared #763 (basti-nis)
  • Timeout for hangs of the docker_client in the facts generation #759 (carabasdaniel)

v4.1.0 - 2021-06-28

Full Changelog

Added

  • Add syslog_facility parameter to docker::run #755 (waipeng)

Fixed

v4.0.1 - 2021-05-26

Full Changelog

Fixed

v4.0.0 - 2021-03-04

Full Changelog

v3.14.0 - 2021-03-04

Full Changelog

Changed

  • pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 #718 (carabasdaniel)

Fixed

  • [MODULES-10898] Disable forced docker service restart for RedHat 7 and docker server 1.13 #730 (carabasdaniel)
  • Make it possible to use pod's network #725 (seriv)

v3.13.1 - 2021-02-02

Full Changelog

Fixed

v3.13.0 - 2020-12-14

Full Changelog

Added

Fixed

  • Options to docker-compose should be an Array, not a String #695 (adrianiurca)
  • fixing issue #689 by setting HOME in docker command #692 (sdinten)
  • (MAINT) Use docker-compose config instead file parsing #672 (rbelnap)
  • Fix array of additional flags #671 (CAPSLOCK2000)
  • Test against OS family rather than name #667 (bodgit)

v3.12.1 - 2020-10-14

Full Changelog

Fixed

  • Fix misplaced backslash in start template #666 (optiz0r)

v3.12.0 - 2020-09-29

Full Changelog

Added

Fixed

v3.11.0 - 2020-08-11

Full Changelog

Added

  • Fix #584: Deal with Arrays for the net list #647 (MG2R)
  • pdksync - (IAC-973) - Update travis/appveyor to run on new default branch main #643 (david22swan)

Fixed

  • [MODULES-10734] - improve params detection on docker::run #648 (adrianiurca)

v3.10.2 - 2020-07-17

Full Changelog

Fixed

v3.10.1 - 2020-05-28

Full Changelog

Fixed

v3.10.0 - 2020-04-23

Full Changelog

Added

  • [IAC-291] Convert acceptance tests to Litmus #585 (carabasdaniel)
  • Updated: Add Docker service (create, remote, scale) tasks #582 (Flask)
  • Add after_start and after_stop options to docker::run define #580 (jantman)
  • Make docker::machine::url configurable #569 (baurmatt)
  • Let docker.service start docker services managed by puppetlabs/docker… #563 (jhejl)
  • Allow bypassing curl package ensure if needed #477 (esalberg)

Fixed

  • Enforce TLS1.2 on Windows; minor fixes for RH-based testing #603 (carabasdaniel)
  • [MODULES-10628] Update documentation for docker volume and set options as parameter #599 (carabasdaniel)
  • Allow module to work on SLES #591 (npwalker)
  • (maint) Fix missing stubs in docker_spec.rb #589 (Filipovici-Andrei)
  • Add Hiera lookups for resources in init.pp #586 (fe80)
  • Use standardized quote type to help tests pass #566 (DLeich)
  • Minimal changes to work with podman-docker #562 (seriv)

v3.9.1 - 2020-01-20

Full Changelog

Fixed

v3.9.0 - 2019-12-09

Full Changelog

Added

Fixed

  • Fix error does not show when image:tag does not exists (#552) #553 (rafaelcarv)
  • Allow defining the name of the docker-compose symlink #544 (gtufte)
  • Clarify usage of docker_stack type up_args and fix link to docs #537 (jacksgt)
  • Move StartLimit* options to [Unit], fix StartLimitIntervalSec #531 (runejuhl)

v3.8.0 - 2019-10-01

Full Changelog

Added

Fixed

v3.7.0-bna - 2019-08-08

Full Changelog

Added

  • Add new Docker Swarm Tasks (node ls, rm, update; service scale) #509 (khaefeli)

Fixed

e2.6 - 2019-07-26

Full Changelog

v3.7.0 - 2019-07-19

Full Changelog

Added

  • Added option to override docker-compose download location #482 (piquet90)

v3.6.0 - 2019-06-25

Full Changelog

Changed

  • (FM-8100) Update minimum supported Puppet version to 5.5.10 #486 (eimlav)

Added

Fixed

3.5.0 - 2019-03-14

Full Changelog

Fixed

  • fix(syntax): Remove duplicate parenthesis #454 (jfroche)
  • Docker::Services:: fix command parameter used with an array #452 (jacksgt)
  • docker::services: Fix using multiple published ports #447 (jacksgt)

3.4.0 - 2019-02-25

Full Changelog

e2.0 - 2019-02-21

Full Changelog

Fixed

3.3.0 - 2019-02-13

Full Changelog

3.2.0 - 2019-01-17

Full Changelog

Fixed

3.1.0 - 2018-10-22

Full Changelog

Fixed

3.0.0 - 2018-09-27

Full Changelog

Fixed

2.0.0 - 2018-07-18

Full Changelog

Fixed

  • fixes restarting containers with changes to run arguments #283 (davejrt)
  • fix "start a container with cpuset" acceptance test on ubuntu1404 #236 (mihaibuzgau)

1.1.0 - 2018-03-16

Full Changelog

Fixed

e1.1 - 2018-02-15

Full Changelog

Fixed

1.0.5 - 2018-01-31

Full Changelog

1.0.4 - 2018-01-03

Full Changelog

1.0.3 - 2018-01-03

Full Changelog

e1.0 - 2017-12-21

Full Changelog

1.0.2 - 2017-11-17

Full Changelog

1.0.1 - 2017-10-15

Full Changelog

1.0.0 - 2017-10-11

Full Changelog