ansible-role-docker_host/templates/daemon.json.j2

13 lines
323 B
Django/Jinja

{
"data-root": "{{ docker_host_data_dir }}",
"default-address-pools": {{ docker_host_address_pools | to_nice_json }},
{% if docker_host_user_namespaces is true %}
"userns-remap": "default",
{% endif %}
"log-driver": "local",
"log-opts": {
"max-size": "20m",
"max-file": "10",
"compress": "true"
}
}