Cloud-PG.docker
Docker Role
Install docker-engine
Role Variables
docker_bridge_ip
: This is the IP address that will be assigned to the Docker bridge.docker_mirror_host
: If you set this, the role will configure the docker-engine to use a registry mirror with the option --registry-mirror={{docker_mirror_protocol}}://{{docker_mirror_host}}:{{docker_mirror_port}}.docker_mirror_protocol
: This defaults to "http".docker_mirror_port
: This defaults to 5000.
Example Playbook
- hosts: servers
roles:
- { role: indigo-dc.docker, docker_bridge_ip: "172.0.17.1" }
License
Apache License v2 [1]