You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marcus Levine 09cf2a81a3
switching to absolute path
9 years ago
defaults fixing docker setup to use rancher url if version provided 9 years ago
files/repos Merge pull request #9 from snoby/Ubuntu_17_04_Update 9 years ago
handlers Proposed update for upstream 10 years ago
meta Added support for zesty 9 years ago
tasks switching to absolute path 9 years ago
templates Make daemon.json settings configurable 9 years ago
tests Improve command run for consul container 10 years ago
vars Move GPG key and Key server vars from defaults to vars. 10 years ago
.gitignore Add Vagrantfile for testing locally 10 years ago
.travis.yml Fix role location in test 10 years ago
README.md Document `docker_config` in README 9 years ago
Vagrantfile Rename Vagrant boxes 10 years ago

README.md

Build Status

docker

Install and configure Docker.

Role Variables

docker_config

A dict of options that are written into docker's daemon.json config file. See the docs for dockerd for a full list of available options.

Default values: (set them in your docker_config to overwrite)

storage-driver: devicemapper
log-level: info

Dependencies

None

Example Playbook

Install Docker

- hosts: servers
  roles:
    - mongrelion.docker

Install and configure docker

- hosts: servers
  roles:
    - role: mongrelion.docker
      docker_config:
        live-restore: true
        userland-proxy: false

Testing

For development, we use Vagrant. Bring the VM up with

$ vagrant up

This will automatically run the playbooks against the virtual machine once it's up.
After making changes to any playbook, you can test the provisioning with

$ vagrant provision

License

MIT

Author Information

You can find me on Twitter: @mongrelion