Merge "Add support for setting Docker daemon debug"

This commit is contained in:
Zuul 2023-11-22 08:47:46 +00:00 committed by Gerrit Code Review
commit 14bcaba0a3
8 changed files with 10 additions and 0 deletions

View File

@ -3,5 +3,6 @@ docker_storage_driver: overlay2
docker_storage_volume_group: docker_storage_volume_group:
docker_storage_volume_thinpool: docker_storage_volume_thinpool:
docker_registry_mirrors: [] docker_registry_mirrors: []
docker_daemon_debug: false
docker_daemon_mtu: 1500 docker_daemon_mtu: 1500
docker_daemon_live_restore: false docker_daemon_live_restore: false

View File

@ -1,4 +1,7 @@
{ {
{%- if docker_daemon_debug | bool %}
"debug": {{ docker_daemon_debug | to_json }},
{%- endif %}
{%- if docker_registry_mirrors | length > 0 %} {%- if docker_registry_mirrors | length > 0 %}
"registry-mirrors": [ "registry-mirrors": [
{%- for mirror in docker_registry_mirrors %} {%- for mirror in docker_registry_mirrors %}

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -1,4 +1,5 @@
--- ---
docker_daemon_debug: true
# Use the OpenStack infra's Dockerhub mirror. # Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors: docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/" - "http://{{ zuul_site_mirror_fqdn }}:8082/"