summaryrefslogtreecommitdiffstats
path: root/roles/docker/templates/daemon.json
diff options
context:
space:
mode:
authorGan Huang <ghuang@redhat.com>2017-05-05 18:18:41 +0800
committerGan Huang <ghuang@redhat.com>2017-05-05 22:39:54 +0800
commite360372dcaf78648a329ce16f9d0365eed6636c8 (patch)
tree1573e487e707dbaeb4ddeca031376dfb81a3d310 /roles/docker/templates/daemon.json
parentf7993afb2fec58b7bd13a70d812bf60deb5b1402 (diff)
downloadopenshift-e360372dcaf78648a329ce16f9d0365eed6636c8.tar.gz
openshift-e360372dcaf78648a329ce16f9d0365eed6636c8.tar.bz2
openshift-e360372dcaf78648a329ce16f9d0365eed6636c8.tar.xz
openshift-e360372dcaf78648a329ce16f9d0365eed6636c8.zip
Fix 1448368, and some other minors issues
Diffstat (limited to 'roles/docker/templates/daemon.json')
-rw-r--r--roles/docker/templates/daemon.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/docker/templates/daemon.json b/roles/docker/templates/daemon.json
index bd085d2be..30a1b30f4 100644
--- a/roles/docker/templates/daemon.json
+++ b/roles/docker/templates/daemon.json
@@ -34,7 +34,9 @@
"ip-masq": false,
"labels": [],
"live-restore": true,
+{% if docker_log_driver is defined %}
"log-driver": "{{ docker_log_driver }}",
+{% endif %}
"log-level": "",
"log-opts": {{ docker_log_options|default({}) }},
"max-concurrent-downloads": 3,
@@ -59,6 +61,6 @@
"tlsverify": true,
"userns-remap": "",
"add-registry": {{ docker_additional_registries|default([]) }},
- "blocked-registries": {{ docker_blocked_registries|defaukt([]) }},
+ "blocked-registries": {{ docker_blocked_registries|default([]) }},
"userland-proxy-path": "/usr/libexec/docker/docker-proxy-current"
}