kayobe/ansible/group_vars/all/docker
Mark Goddard 869185ea7b Switch default docker storage driver to overlay2
To avoid switching existing deployments from devicemapper to overlay2,
we check the existing storage driver configuration directly with the
Docker daemon, or if unreachable by reading the /etc/docker/daemon.json
configuration file.

Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Story: 2005667
Task: 30972

Change-Id: Iaf2ee8c9f302f4684ae039bb00b2e2e5969cf1fc
2020-10-05 19:59:11 +00:00

29 lines
828 B
Plaintext

---
###############################################################################
# Docker configuration.
# Name of the docker storage driver. Default is 'overlay2'.
docker_storage_driver: overlay2
# Name of the docker storage LVM volume group.
docker_storage_volume_group: data
# Name of the docker storage data LVM volume.
docker_storage_volume_thinpool: docker-thinpool
# Size of the docker storage data LVM volume (see lvol module size argument).
docker_storage_volume_thinpool_size: 20%VG
# Name of the docker storage metadata LVM volume.
docker_storage_volume_thinpool_meta: docker-thinpoolmeta
# Size of the docker storage metadata LVM volume (see lvol module size
# argument).
docker_storage_volume_thinpool_meta_size: 1%VG
# URL of docker registry
docker_registry:
# CA of docker registry
docker_registry_ca: