Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Docker Cookbook

Installs Docker.

By default, it just installs the latest version of Docker. It follows these instructions.

After running this cookbook you can verify Docker is working by running:

$ sudo docker run hello-world

Configuration

Chef's node has a top-level docker key so the configuration is done using the docker-config key.

"docker-config" => {
  "version" => string,
  "users" => list[string]
}

Attributes

  • version -- string, the Docker version to install, defaults to the latest version.
  • users -- list[string], the users who will join the docker group. This should allow the users to run docker commands without sudo.

More full-featured Docker cookbooks