Skip to content

dpujadas/ansible-role-docker-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-engine

This role installs and configures docker-engine on an Ubuntu Server following Official Documentation.

Requirements

Only Ubuntu 14.04 (trusty), 15.10 (wily) and 16.04 (xenial) are supported

Role Variables

  • docker_engine_init_system: OS init system. (default 'upstart')
  • docker_engine_is_prod: Is a production environment or not (default: True)
  • docker_engine_state: Desired daemon state after role execution (default: 'started')
  • docker_engine_enabled: Enable docker at boot or not (default: 'yes')
  • docker_engine_opts: To modify the daemon startup options (Ex: '-H tcp://127.0.0.1:2375')
  • docker_engine_http_proxy: If you need Docker to use an HTTP proxy (Ex: 'http://127.0.0.1:3128/')
  • docker_engine_tmpdir: Docker's temporary files dir (Ex: '/mnt/bigdrive/docker-tmp')
  • docker_engine_daemon_config: Dict used to set /etc/docker/daemon.json config file (default: empty dict)

Example Playbook

- hosts: servers
  roles:
    - { 
      role: 'docker-engine',
      docker_engine_opts: '-H tcp://127.0.0.1:2375'
    }

License

MIT

Build Status

About

Ansible role to install docker-engine on Ubuntu server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published