JC1738 / deploy-docker-test

example of deploying docker-hello docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dockerdeploy-cookbook

This is an example cookbook to show how to deploy a docker container from a private registry to a linux machine.

It's using a private docker repository, but you can switch to use any repo, see docker cookbook for details.

This example is also showing how to specify a tag for which docker container to run.

Supported Platforms

Tested on ubuntu, but should work with any platform the docker cookbook supports

Attributes

Key Type Description Default
['dockerdeploy']['bacon'] Boolean whether to include bacon true

Usage

dockerdeploy::default

Include dockerdeploy in your node's run_list:

{
  "run_list": [
    "recipe[dockerdeploy::default]"
  ]
}

License and Authors

Author:: Jim Castillo (<YOUR_EMAIL>)

About

example of deploying docker-hello docker container

License:Other


Languages

Language:Ruby 100.0%