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

19 lines
490 B
Plaintext
Raw Normal View History

2018-08-12 16:47:39 +08:00
{
2019-05-02 18:29:38 +08:00
"registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://docker.mirrors.ustc.edu.cn",
2019-05-02 18:29:38 +08:00
"http://hub-mirror.c.163.com"
],
2018-08-12 16:47:39 +08:00
"max-concurrent-downloads": 10,
"log-driver": "{{ LOG_DRIVER }}",
"log-level": "{{ LOG_LEVEL }}",
"log-opts": {
"max-size": "{{ LOG_MAX_SIZE }}",
"max-file": "{{ LOG_MAX_FILE }}"
2018-08-29 22:12:02 +08:00
},
2019-01-10 15:37:04 +08:00
"data-root": "{{ STORAGE_DIR }}"
2019-01-18 21:36:48 +08:00
{% if ENABLE_REMOTE_API %}
, "hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"]
{% endif %}
2018-08-12 16:47:39 +08:00
}