Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 683 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 683 Bytes

docker cookbook - A docker cookbook for Chef

Cookbook for docker

Requirements

packages

  • lxc wget bsdtar curl linux-image-extra-<kernel_version>

Usage

docker::default

Just include docker in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[docker]"
  ]
}

Attributes

The only attribute in this recipe is the 'install_dir', where the binary is installed.

default[:docker][:install_dir] = "/opt/docker"

Change it to whatever value pleases you.

Contributing

  1. Fork the repository on Github
  2. ...
  3. Submit a Pull Request using Github