Custom resources for installing Docker Engine, managing /etc/docker/daemon.json, and controlling the docker service.
Upgrading from older docker-engine cookbook releases is a breaking change. Legacy usage based on include_recipe 'docker-engine::...' and cookbook attributes under node['docker-engine'] is no longer supported. Update wrapper cookbooks, roles, and Policyfiles to declare the docker_engine_* resources directly before upgrading.
See migration.md for the required migration steps.
docker_engine_repodocker_engine_installdocker_engine_configdocker_engine_service
docker_engine_repo 'docker'
docker_engine_install 'docker'
docker_engine_config 'docker' do
config(
'log-driver' => 'json-file',
'storage-driver' => 'overlay2'
)
end
docker_engine_service 'docker'docker_engine_install 'docker' do
packages 'docker.io'
end
docker_engine_config 'docker' do
config('storage-driver' => 'overlay2')
end
docker_engine_service 'docker'- CentOS Stream 9+
- Debian 12+
- Ubuntu 22.04+
See LIMITATIONS.md for the current upstream Docker package and repository constraints that shaped this migration.
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.