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

The chef-apt-docker cookbook has been deprecated

Author provided reason for deprecation:

The chef-apt-docker cookbook has been deprecated and is no longer being maintained by its authors. Use of the chef-apt-docker cookbook is no longer recommended.


chef-apt-docker (11) Versions 2.0.3

Sets up the Docker apt repository

cookbook 'chef-apt-docker', '= 2.0.3', :supermarket
cookbook 'chef-apt-docker', '= 2.0.3'
knife supermarket install chef-apt-docker
knife supermarket download chef-apt-docker
Quality 100%

chef-apt-docker Cookbook

Build Status Cookbook Version

Configures the official Docker apt repository



  • Debian
  • Ubuntu


  • Chef 12.9+


  • compat_resource


  • node['chef-apt-docker']['components'] - repository components to configure. Default to ['main']. Other options are experimental and testing. Component must be an array of strings even if only a single component.


Simply add recipe[chef-apt-docker] to a run list. Change the component if you want testing / experimental releases

Note: Debian 7 requires the wheezy-backports repository be setup to fully satisfy requirements of the docker packages. This cookbook does not handle that, but you will need to setup that repository if running Debian 7.

Note: As of version 2.0 of this cookbook installs docker-ce instead of docker-engine as Docker renamed the free Docker products to Docker Community Edition (CE) in 2017.

License & Authors

Author: Cookbook Engineering Team (


This cookbook is maintained by Chef's Community Cookbook Engineering team. Our goal is to improve cookbook quality and to aid the community in contributing to cookbooks. To learn more about our team, process, and design goals see our team documentation. To learn more about contributing to cookbooks like this see our contributing documentation, or if you have general questions about this cookbook come chat with us in #cookbok-engineering on the Chef Community Slack


Copyright: 2016-2017, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

docker-custom Applicable Versions

chef-apt-docker Cookbook CHANGELOG

This file is used to list changes made in each version of the chef-apt-docker cookbook.

2.0.3 (2017-09-18)

  • Use SKS keyserver pool rather than as this is more reliable

2.0.2 (2017-08-31)

  • fix for trusty failing without an arch listed

2.0.1 (2017-08-11)

  • Workaround missing packages in base debian 9

2.0.0 (2017-08-02)

  • updating to the latest docker repo structure as Docker has entirely changed their repo setup

1.1.2 (2017-07-25)

  • Pull Docker GPG key from

1.1.1 (2017-03-01)

  • removing dep on compat_resource

1.1.0 (2017-02-15)

  • Make sure debian knows it's codename
  • Add contributing doc
  • Use compat_resource instead of apt cookbook
  • Make sure we can use https repos
  • Add attributes for repository uri, keyserver and key

Collaborator Number Metric

2.0.3 passed this metric

Contributing File Metric

2.0.3 passed this metric

Foodcritic Metric

2.0.3 passed this metric

License Metric

2.0.3 passed this metric

No Binaries Metric

2.0.3 passed this metric

Testing File Metric

2.0.3 passed this metric

Version Tag Metric

2.0.3 passed this metric