Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

docker-ce (15) Versions 0.9.0

Installs Docker CE

Policyfile
Berkshelf
Knife
cookbook 'docker-ce', '= 0.9.0', :supermarket
cookbook 'docker-ce', '= 0.9.0'
knife supermarket install docker-ce
knife supermarket download docker-ce
README
Dependencies
Changelog
Quality 33%

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

Please note that all attributes are optional.

Key Type Description Default
default[:docker_ce][:version] String APT package version to be installed latest
node[:docker_ce][:daemon][:registry_mirrors] Array of strings Docker registry mirrors []
node[:docker_ce][:daemon][:cgroup_driver] String Cgroup driver to be used by Docker cgroupfs

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'

Tested Docker versions

Note: If you'd like to test another Docker serie, or another platform, please update the .kitchen.yml file as the following:

  1. Duplicate an existing version from the suites section or add the new platform from the platforms section
  2. Update the docker version to the version you'd like to test
  3. Run the tests (See [TESTING.md](TESTING.md))
  4. Update the README.md file with the tested version
  5. When tests are passing, open a merge request

Debian

Docker jessie64 stretch64 buster64
18.06
18.09

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.9.0 (2019-11-06)

  • Allows changing the log-driver and setting of the live-restore option

0.8.0 (2019-08-12)

  • Allows chaning the Docker native.cgroupdriver to systemd

0.7.0 (2019-08-09)

  • Allows setting docker daemon 'registry-mirrors' setting

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.9.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.9.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.9.0 passed this metric

No Binaries Metric
            

0.9.0 passed this metric

Testing File Metric
            

0.9.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.9.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