Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Chef Cookbook Docker

The default cookbook installs docker, makes sure the docker service is running.

This is just a wrapper cookbook for docker

Requirements

Supported Platforms

  • Debian Buster

Chef

  • Chef 13.1+

Cookbook Depdendencies

Usage

Add the cookbook to your Berksfile:

cookbook 'codenamephp_docker'

Use the resources as needed in a wrapper cookbook. You can check out some examples either in this readme or in the test/fixtures/test cookbook.

Resources

Service

Uses the docker_service resource to install docker and create and start the service.

Actions

  • install: Installs docker and creates and starts the service

Examples

With minimal properties:

# Install
codenamephp_docker_service 'Install docker'

Compose

Installs docker-compose as a docker image using the run script wrapper from docker-compose github. The bash completion is also installed.

Actions

  • install: Installs docker-compose and bash completion

Properties

  • version: The desired version as string, defaults to 'latest'

Examples

With minimal properties:

# Install
codenamephp_docker_compose 'Install docker-compose'

With custom version:

codenamephp_docker_compose 'Install docker-compose' do
  version '1.26.1'
end

About

Chef cookbook that installs docker and docker-compose

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.