daemon.json.j2 554 B

1234567891011121314151617181920
  1. {
  2. "bridge": "none",
  3. "experimental": true,
  4. "iptables": false,
  5. "exec-opts": [
  6. "native.cgroupdriver=systemd"
  7. ],
  8. "data-root": "{{ docker_root | default('/opt/docker')}}",
  9. "log-driver": "json-file",
  10. "log-opts": {
  11. "max-size": "100m"
  12. },
  13. {% if docker_registry_mirrors|default([])|length > 0 %}
  14. "registry-mirrors": {{ docker_registry_mirrors|to_json }},
  15. {% endif %}
  16. {% if docker_insecure_registries|default([])|length > 0 %}
  17. "insecure-registries": {{ docker_insecure_registries|to_json }},
  18. {% endif %}
  19. "live-restore": true
  20. }