zuul-jobs/roles/install-docker/templates/daemon.json.j2
Jean-Philippe Evrard e3e450650b Add docker insecure registries feature
This allows projects to configure insecure registries.
It's especially useful when building/pushing images locally.

Change-Id: I52220b3972f1703f09759f9886176a02b03fb2c5
2018-12-12 09:51:09 +01:00

5 lines
177 B
Django/Jinja

{
{% if docker_insecure_registries is defined -%}"insecure-registries": {{ docker_insecure_registries | to_json }},{% endif %}
"registry-mirrors": ["{{ docker_mirror }}"]
}