From 69f9edc695cbdf8a9dac4e4e8c7b3b0a0b00d6ee Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Mon, 21 Nov 2016 14:13:48 -0300 Subject: [PATCH] Change dind graph folder so it doesn't share the host --- Dockerfile.dind | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.dind b/Dockerfile.dind index c3d6c3f..c1c46a1 100644 --- a/Dockerfile.dind +++ b/Dockerfile.dind @@ -30,7 +30,7 @@ WORKDIR /root # Remove IPv6 alias for localhost and start docker in the background ... CMD cat /etc/hosts >/etc/hosts.bak && \ sed 's/^::1.*//' /etc/hosts.bak > /etc/hosts && \ - dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 \ + dockerd -g /graph --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 \ --storage-driver=$DOCKER_STORAGE_DRIVER &>/docker.log & \ while true ; do /bin/sh ; done # ... and then put a shell in the foreground, restarting it if it exits