From e4dee08a1928164c8df0ae67fdf5537c16b06198 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Tue, 13 Nov 2018 07:54:42 -0500 Subject: [PATCH] Nextcloud needs devicemapper for storage driver, open docker to tcp, and use local registry as a mirror --- roles/common/templates/docker-daemon.json.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/common/templates/docker-daemon.json.j2 b/roles/common/templates/docker-daemon.json.j2 index 6b821dd..a1000c5 100644 --- a/roles/common/templates/docker-daemon.json.j2 +++ b/roles/common/templates/docker-daemon.json.j2 @@ -1,5 +1,8 @@ { + {% if inventory_hostname == "nextcloud" %}"storage-driver": "devicemapper",{% endif %} + "hosts": ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2375"], "insecure-registries" : ["{{ registry_location }}","10.0.0.221:5000"], + "registry-mirrors": ["http://10.0.0.221:5000"], "metrics-addr" : "0.0.0.0:9323", "experimental" : true -} +} \ No newline at end of file