Add template for daemon.json
This commit is contained in:
parent
ce3eb41cea
commit
16200bf411
1 changed files with 9 additions and 0 deletions
9
roles/docker/templates/daemon.json.j2
Normal file
9
roles/docker/templates/daemon.json.j2
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"exec-opts": ["native.cgroupdriver=systemd"],
|
||||||
|
"log-driver": "json-file",
|
||||||
|
"log-opts": {
|
||||||
|
"max-size": "100m"
|
||||||
|
},
|
||||||
|
"data-root": "{{ docker_data_root }}",
|
||||||
|
"storage-driver": "{{ docker_storage_driver }}"
|
||||||
|
}
|
Loading…
Reference in a new issue