cookbook 'docker-ce', '= 0.6.0'
docker-ce (15) Versions 0.6.0 Follow3
Installs Docker CE
cookbook 'docker-ce', '= 0.6.0', :supermarket
knife supermarket install docker-ce
knife supermarket download docker-ce
Docker CE Cookbook
Installs the Docker engine Community Edition.
This cookbook has been built following the instructions from https://docs.docker.com/install/.
This cookbook takes care to lock the docker packages after install and upgrade in order to prevent any unexpected actions on the package. It also takes care to never restart Docker excepted when upgrading it.
Another Docker engine cookbook?
All the existing cookbooks I found on the Chef Supermarket wasn't covering my need, or wasn't working anymore, so I decided to make a new one, with tests, following the official documentation so that it should be more robust.
Supported Platforms
- Debian 8/9
If you want to add more platforms, feel free to open a PR!
Attributes
Key | Type | Description | Default |
---|---|---|---|
default[:docker_ce][:version] |
String | APT package version to be installed | 'latest' |
Usage
- If you use it from a Policyfile, a Role or an Environment, add it to the
run_list
:
{ "run_list": [ "recipe[docker-ce]" ] }
- If you want to use it within a cookbook :
ruby include_recipe 'docker-ce'
Dependent cookbooks
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
docker-ce-cookbook CHANGELOG
This file is used to list changes made in each version of the docker-ce-cookbook
cookbook.
Unreleased
0.6.0 (2019-08-07)
- Implements Docker upgrade
- Optimise the recipe
- Lock the docker packages after install and upgrade
0.5.0 (2019-07-30)
- Adds the apt cookbook as dependency and removes useless apt-get update commands
0.4.0 (2019-07-27)
- Removes useless
apt-get update
commands
0.3.0 (2019-07-26)
- Adds Docker CE version attribute to define the APT package version to be installed.
0.2.0 (2019-05-27)
- Debian 8 support
- ChefSpecs
0.1.0 (2019-05-23)
Initial release.
Collaborator Number Metric
0.6.0 failed this metric
Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 passed this metric
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 passed this metric
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 passed this metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number