ansible/roles/docker/templates/daemon.json.j2

19 lines
398 B
Plaintext
Raw Permalink Normal View History

2021-01-09 17:54:42 +00:00
{% if docker is defined %}
{% if docker.insecure_registries is defined %}
{% set insecure_registries = docker.insecure_registries %}
{% endif %}
{% endif %}
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
{% if insecure_registries is defined %}
"insecure-registries" : ["{{ insecure_registries }}"],
{% endif %}
"log-opts": {
"max-size": "100m"
}
}