logankoester / chef-docker-simple

Install Docker and related software.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-simple cookbook

Install Docker and related software.

Build Status Gittip

Installation

Using Berkshelf, add the docker-simple cookbook to your Berksfile.

cookbook 'docker-simple', github: 'logankoester/chef-docker-simple', branch: 'master'

Then run berks to install it.

Usage

  • docker-simple::default will simply install Docker.
  • docker-simple::compose will install Docker Compose.

docker-simple::default

Include docker-simple in your run_list.

{
  "run_list": [
    "recipe[docker-simple::default]"
  ]
}

Running the tests

This cookbook uses the Foodcritic linter, ChefSpec for unit testing, and ServerSpec for integration testing via Test Kitchen with the kitchen-vagrant driver.

It's not as complicated as it sounds, but you will need to have Docker installed.

  1. git clone git@github.com:logankoester/chef-docker-simple.git
  2. cd chef-docker-simple
  3. bundle install
  4. bundle exec rake

This will run all of the tests once. While developing, run bundle exec guard start and the relevant tests will run automatically when you save a file.

Author

Copyright (c) 2015 Logan Koester. Released under the MIT license. See LICENSE for details.

About

Install Docker and related software.

License:MIT License


Languages

Language:Ruby 84.1%Language:HTML 15.9%