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