Rotation des logs locale
This commit is contained in:
parent
aa8171220e
commit
e760a5dbdc
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,13 @@
|
|||
"data-root": "{{ docker_host_data_dir }}",
|
||||
"default-address-pools": [
|
||||
{ "base": "172.18.0.0/16", "size": 24 }
|
||||
]{% if docker_host_user_namespaces is true %},
|
||||
],
|
||||
"log-driver": "local",
|
||||
"log-opts": {
|
||||
"max-size": "20m",
|
||||
"max-file": "10",
|
||||
"compress": "true"
|
||||
}{% if docker_host_user_namespaces is true %},
|
||||
"userns-remap": "default"
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue