docker_engine
Setup docker engine.
- Default Variables
- docker_ansible_deps
- dockerengine_daemon_config
- dockerengine_daemon_config_extra
- dockerengine_docker_group_enabled
- dockerengine_http_proxy
- dockerengine_https_proxy
- dockerengine_networks
- dockerengine_networks_extra
- dockerengine_no_proxy
- dockerengine_nsremap_range_length
- dockerengine_nsremap_range_start
- dockerengine_nsremap_user
- dockerengine_packages
- dockerengine_packages_extra
- dockerengine_registries
- dockerengine_service
- dockerengine_usernamespace_enabled
- Dependencies
docker_ansible_deps:
- cryptography~=2.0
- docker-compose~=1.24.0
- docker
dockerengine_daemon_config:
- selinux-enabled: false
- log-driver: journald
- log-level: info
- live-restore: true
dockerengine_daemon_config_extra: []
dockerengine_docker_group_enabled: false
dockerengine_http_proxy: _unset_
dockerengine_https_proxy: _unset
List of extra docker networks to create. For configuration detials see docker_networks
.
dockerengine_networks: []
dockerengine_networks:
- name: my_network
driver: bridge
enable_ipv6: True
ipam_config:
- subnet: fdd1:ac8c:0557:7ce1::/64
force: False
state: present
dockerengine_networks_extra: []
dockerengine_no_proxy: _unset_
dockerengine_nsremap_range_length: 65536
dockerengine_nsremap_range_start: 231072
dockerengine_nsremap_user: dockremap
dockerengine_packages:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
The role requires epel repository and pip to work. You can use
dockerengine_packages_extra
to install these dependencys.
dockerengine_packages_extra: []
List of docker registries to auto login
dockerengine_registries: []
dockerengine_registries:
- registry: myregistry.example.com (optional)
username: docker
password: secure
reauthorize: False
state: present
dockerengine_service: docker
dockerengine_usernamespace_enabled: false
None.