This file is used to list changes made in each version of the docker cookbook.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update documentation for
docker_container
resource - Update documentation for
docker_service
resource - Update documentation for
docker_exec
resource - Update resources overview
- Update documentation for
docker_installation_package
resource - Update documentation for
docker_installation_script
resource - Update documentation for
docker_installation_tarball
resource - Update documentation for
docker_service_manager_execute
resource - Update documentation for
docker_service_manager_systemd
resource - Update documentation for
docker_volume_prune
resource <<<<<<< HEAD
- Cleanup changelog =======
5326caf (Update readme, and documentation folder)
- Enhance tmpfs support for containers
- Added support for array format in tmpfs property
- Improved documentation with examples
- Added test coverage for tmpfs functionality
- Fix issue with container network mode causing unnecessary redeployment when using
container:<name>
format- Added network mode normalization to handle container IDs consistently
- Prevents container recreation when only the container ID format changes
- Add volume_prune resource
- Added GPU support for the
docker_container
resource
- Add opts for ip6tables
- Add
none
as an option toservice_manager
to allow using the system defaults - Switch to running vagrant+virtualbox on Ubuntu via nested virtualization for smoke tests
- Fix package installation tests
- Fix
version_string
for Debian Bookworm
docker_installation_package
support for Ubuntu v24.04 (noble)
- Bump
docker-api
dependency to>= 2.3
to fix upstream bug #586
- Version bump to force a release
- Temporary version in for
excon
gem due to v0.111.0 introducing breaking changes with thedocker-api
gem. To be fixed upstream
- Add site_url property to docker_installation_package resource
- fix the generation of the docker version string to install on ubuntu jammy
- Standardise files with files in sous-chefs/repo-management
- Various MDL fixes
- Fix breaking change introduced by #1253 (Add CgroupnsMode from Docker API as option)
- added cgroup_ns option to container resource with default private
- Only pass common resource properties of the
docker_service
-resource to the specific service manager resources.
-
Update to work on Chef 18 in unified mode, fixes #1222 @b-dean
The following resources are now custom resources:
docker_installation
docker_installation_package
docker_installation_script
docker_installation_tarball
docker_service
docker_service_base
docker_service_manager
docker_service_manager_execute
docker_service_manager_systemd
This means their classes are no longer in the
DockerCookbook
module.
- Update sous-chefs/.github action to v2.0.4
- Update sous-chefs/.github action to v2.0.2
- Standardise files with files in sous-chefs/repo-management
- Standardise files with files in sous-chefs/repo-management
- Standardise files with files in sous-chefs/repo-management
- [skip ci] Fix yaml
- Fixed "Can't start a simple container" in #1226 @urlund
- Set a ceiling of Chef 17 as Chef 18 is broken due to #1222
- Fix various CI issues
docker_installation_package
support for ubuntu 22.04
- Standardise files with files in sous-chefs/repo-management
- Update readme.md syntax, add link
- Update CHANGELOG.md to fix MarkDownLint rules
- Fix arguments to
generate_json
indocker_image_prune
resource
- Sort container
volume_binds
to prevent erroneous container re-deploys
- Don't set container swappiness with cgroupv2
- Standardise files with files in sous-chefs/repo-management
- Remove delivery and move to calling RSpec directly via a reusable workflow
- Update tested platforms
- Add debian 11 support
- Fix
generate_json
not accepting a variable number of arguments
- Fix raise when using mixed address families with a network
- Update to tarball checksums to 20.10.11 and 19.03.15
- Update to using version 20.10.11 for testing suites
- Fix group resource for
docker_installation_tarball
library in #1205 @benoitjpnet
- Add CentOS Stream 8 to CI pipeline
- Move the
docker_image_prune
library to a custom resource
- Remove old refernces to services managers that no longer exist
- Remove the sysvinit Docker Service managers
- Platforms that supported these service managers are now EOL
- Remove the
docker_network
library as it is no longer used - Move the
docker_registry
library to a custom resource
- Move the
docker_tag
library to a custom resource
- Fix unwanted changes to
/lib/systemd/system/* files
- Stop the socket when stopping the service with systemd
- Move the
docker_image
library to a custom resource
- Update exec resource to use
partial/_base
- Move the
docker_plugin
library to a custom resource
- Move the
docker_network
library to a custom resource
- Add
ip
andip6
properties todocker_network
- Move the Docker log properties to a partial
- Update and sync log drivers list for
docker_service_manager
anddocker_container
- Move the
docker_exec
library to a custom resource
- Move the
docker_container
resource to a custom resource
- Move the
docker_volume
resources to a custom resource - Add the base partial for all future resources
- Require Chef 16+ for resource partial support
- Remove Ubuntu 16.04 from the GitHub Actions test matrix
- Add amazonlinux-2 to the test matrix
- Ensure
docker_container
:health_check is idempotent
- Fix private registries credentials handling and public registries
- Use new
action_class
instead ofdeclare_action_class.class_eval
for helper methods in resources
- Ensure
docker_container :user
is idempotent
- Ensure
docker_container :health_check
is idempotent
- Remove Ubuntu 16.04 support now it's end of life
- fix markdown links check
- Remove upstart docker service manage
- We don't officialy support any distros that use upstart anymore
- Fixes image prune filters to match updated format
- Update port syntax for
docker_container
- [920] Properly document the devices syntax
- Disable installation-script-main suite on Debian 9 due to lack of upstream support
- Standardise files with files in sous-chefs/repo-management
- Ensure
docker_image :load
is idempotent
- Fix
installed_docker_version
method on ppc64le which appendsv
to the version
- Fix package installation on RHEL s390x architecture
- Add
buildargs
property todocker_image
resource
- Fixed
reload_signal
andcpus
bug fordocker_container
in #1090 @urlund
- Support for loki-docker driver logging plugin
- Update to use 20.10 by default
- Update tarball for 19.03 to 19.03.14
- Fix the codeowners to use the correct group
- Support
local
option for thelog_driver
properties ofdocker_service
anddocker_container
resources
- Updates the
registry_mirror
option ofdocker_service
to be either a string or array. This way multiple mirrors can be configured
- Remove creates guard for extracting tarball which prevents upgrades
- Fix issue with
default-ip-addr
in systemd
- Add
cpus
options todocker_container
- Sous Chefs Adoption
- Update Changelog to Sous Chefs
- Update to use Sous Chefs GH workflow
- Disable installation-script-experimental
- Update README to sous-chefs
- Update metadata.rb to Sous Chefs
- Update tarball version to 19.03.13
- Update tarball suite tests
- Update tarball checksums to latest versions
- Cookstyle fixes
- Update and fix ChefSpec tests
- Yamllint fixes
- MDL Fixes
- Loosen docker-api gem to allow >= 1.34, < 3.0 (resolves #1135)
- Update test recipes/tests so they can work with Cinc
- Ensure
docker
group exists for tarball installation - Enable containerd systemd unit if binary exists
- Add testing for CentOS 8
- Add testing for Ubuntu 20.04
- Add
docker_install_method
helper to automate install method - Add
container.service
unit for tarball installation method
- Disable broken tests and
resources
suite
The 7.0 release includes a breaking change to package installs with version specified. Before this change RHEL based systems allowed specifying any valid version string (19, 19.03, 19.03.8) and an * was added automatically to package name for specified version installation. New change specifies docker-ce package name and uses package resource version option to specify version. The version option default has been removed and thus will default to the lastest version. If version option is specified it'll lock the package to that version. Debian family machines are unaffected by the change. With this change we will not need to constantly release new versions of the cookbook for new releases of Docker.
- Removed default value for properties working_dir and memory_swap. - @antima-gupta
- Updated memory_swap default value 0 to nil - @antima-gupta
- Fix for docker_exec does not check the return code of the command it runs - @kapilchouhan99
- Add provides in addition to resource_name to all resources - @tas50
- Standardise files with files in chef-cookbooks/repo-management - @xorimabot
- Resolved deprecations to provide Chef Infra Client 16 compatibility - @xorimabot
- resolved cookstyle error: libraries/docker_container.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_exec.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_image.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_image_prune.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_installation_package.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_installation_tarball.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_network.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_plugin.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_registry.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_service_manager_execute.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_tag.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_volume.rb:3:5 warning:
ChefDeprecations/ResourceUsesOnlyResourceName
- resolved cookstyle error: libraries/docker_container.rb:3:5 warning:
- Allow configuring reload signal #1089 - @scalp42
- Update docker_image doc to fix escaping typo - @pgilad
- Fix for env_file breaks on Chef 16 - @kapilchouhan99
- Require Chef Infra Client 15+ to fix issues with package versions on RHEL / Fedora since Chef Infra Client 15 reworked how yum_package performed and let us now pass in human readable versions to be installed- @tas50
- Fix missing reference to new_resource.restart_policy - @petracvv
- Add testing with Github Actions - @tas50
- Added debian 10 support
- Add 'live_restore' property to 'docker_service'
- Use new_resource to read attribute - @dud225
- set default ipc_mode to shareable to prevent redeploying containers on each run - @dheerajd-msys
- Cookstyle fix - @tas50
- Remove legacy Amazon Linux 201x support. This cookbook now requires Amazon Linux 2 - @tas50
- Remove support for EOL Ubuntu distros 14.04 and 17.10 - @tas50
- install_package: Remove support for Docker 17.03 and earlier - @tas50
- Require Chef Infra Client 13 or later - @tas50
- Simplify the platform detection code - @tas50
- Include support for other architectures using upstream repo - @ramereth
- Update format of docker tarball filenames > 18.06.3 - @smcavallo
- Rework integration and unit tests to get everything green again - @smcavallo
- Update the systemd unit file - @smcavallo
- Remove the legacy foodcritic comments that aren't needed since we use cookstyle - @tas50
- Cookstyle: Don't set allowed_actions in the resource - @tas50
- update to the latest version of docker (for security reasons) - @smcavallo
- fixing the default docker version in the kitchen tests - @smcavallo
- fixes issue #1061, docker_volume 'driver' and 'opts' don't work
- Support setting shared memory size.
- added systemd_socket_opts for additional configuration of the systemd socket file
- Add support for windows - @smcavallo
- Expand ChefSpec testing - @smcavallo
- Fix for when HealthCheck is used - @smcavallo
- Fix issues with network_mode in docker_container - @smcavallo
- Add support for container health_check options - @smcavallo
- Add new docker_image_prune resource - @smcavallo
- Added 17.03 support on RHEL 7. Thanks @smcavallo
- Added 18.09 support. Thanks @smcavallo
- add missing new_resource reference that prevented docker_container's reload action from running
- Add :default_address_pool property to docker_service
- Import docker.com repository gpg key via HTTPS directly from docker to avoid timeouts with Ubuntu's key registry
- :default_ip_address_pool property added to configure default address pool for networks created by Docker.
- package names changed again. looks like they swapped xenial and bionic name schema.
- xenial 18.03 contains the new test version format
- refactor version_string
- Use different version string on .deb packages
- Include setup_docker_repo in docker_service and allow old docker-ce versions for centos
- Bump docker version to 18.06.0
- sets the default log_level for the systemd docker service back to nil
- change require relative to library path
- docker_execute -> docker_exec
- Loosen up the requirement on docker-api gem
- Add new docker_plugin resource
- Adding tests for docker_container detach == false (container is attached)
- Add new_resource and current_resource objects as context for methods when telling a container to wait (when detach is false)
- docker service :log_level property converted to String.
- Use new package versioning scheme for Ubuntu bionic
- Bump the docker version everywhere
- Remove the zesty? helper
- Initial support for Debian Buster (10)
- Bump the package default to 18.03.0
- Remove old integration tests
- Update package specs to pass on Amazon Linux
- Initial support for Chef 14
- Remove unused api_version helper
- Support additional sysv RHEL like platforms by using platform_family
- Added oom_kill_disable and oom_score_adj support to docker_container
- ENV returns nil if the variable isn't found
- Remove the TLS default helpers
- Move coerce_labels into docker_container where its used
- Add desired_state false to a few more properties
- If the ENV values are nil don't use them to build busted defaults for TLS
- Remove a giant pile of Chef 12-isms
- Kill off ArrayType and NonEmptyArray types
- Don't require docker all over the place
- Kill the ShellCommand type
- Fix undefined method `v' for DockerContainer
- Make to_shellwords idempotent in DockerContainer
- Fix(Chef14): Use property_is_set with new_resource
- Use try-restart for systemd & retry start one time
- Move to_snake_case to the container resource where it's used
- Reduce the number of coerce helpers in the the container resource
- Remove the Boolean type and instead just use TrueClass,FalseClass
- Use an actual integer in the memory_swappiness test since after reworking the coerce helpers we're requiring what we always stated we required here
- Remove required from the name property. This resolves Foodcritic warnings in Foodcritic 13
- Resolve a pile of Chef 14 deprecation warnings in the container and images resources
- Remove support for Ubuntu 17.04 from the installation_package resource
- Moved all the helper libraries into the resources themselves. This is part 1 of the work to get these resources ready for inclusion in Chef 14
- Removed the version logic from installation_package when on Amazon Linux. Since we don't setup the repo we only have a single version available to us and we should just install that version. This resolves the constant need to update the hardcoded version in the cookbook every time Amazon releases a new Docker version.
- Flag registry password property as sensitive in docker_registry resource
- allow labels to have colons in the value
- Default to Docker 17.12.0
- Remove previously deprecated support for Debian 7 / CentOS 6. Currently supported released of Docker do not run on these platforms.
- Removed support for the EOL Docker 1.12.3
- Removed the ChefSpec matchers which are no longer needed with ChefDK 2.X
- Remove the broken legacy binary installation resource. This was only used by very old EOL docker releases
- By default setup the apt/yum repos in the package install resource so that out of the box there's no need for additional cookbooks. If you would like to manage your own docker repos or other internal repos this may be disabled by property. Due to this change the cookbook now requires Chef 12.15+
-
Greatly expand Travis CI testing of the cookbook and use new InSpec resources for Docker instead of shelling out
-
Add support for Ubuntu 17.10
-
Update Fedora support for new DNF support in Chef
-
Minor correctness and formatting updates to the readme
-
load internal and ipv6 status for existing docker_network resources
-
Update Amazon Linux to default to 17.09.1, which is the current version in their repos
-
Fix the remove action in docker_installation_script
-
Replace deprecated graph with data_root. Graph will now silently map to data_root
-
Pass --host instead of -H in docker_service for clarity
-
Make sure tar is installed to decompress the tarball in the docker_installation_tarball resource
-
Update the download path for Docker CE to unbreak docker_installation_tarball
-
Allow specifying channels in the docker_installation_tarball resource so you can install non-stable releases