openstack-helm-infra/roles/deploy-env/files/daemon.json
astebenkova 2f7377e17e [deploy-env] Add mirror to Docker configuration
There are some docker_container tasks which pull docker images.
This commit adds mirror configuration to daemon.json to prevent
encountering issues related to the pull rate limit.

+ update tls job according to the changes in openstack-helm

Depends-On: Ia58916e3dc5e0f50b476ece9bba31d8d656b3c44
Change-Id: Iac995500357336566cdbf9ddee0ae85b0b0347cd
2024-05-01 21:48:21 +00:00

17 lines
448 B
JSON

{
"data-root": "{{ docker.root_path }}",
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
{% if registry_mirror is defined %}
"registry-mirrors": ["{{ registry_mirror }}"],
{% endif %}
{% if insecure_registries is defined %}
"insecure-registries": ["{{ insecure_registries }}"],
{% endif %}
"storage-driver": "overlay2",
"live-restore": true
}