mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 10:17:26 +08:00
Change dind graph folder so it doesn't share the host
This commit is contained in:
parent
8b3892a34f
commit
69f9edc695
@ -30,7 +30,7 @@ WORKDIR /root
|
|||||||
# Remove IPv6 alias for localhost and start docker in the background ...
|
# Remove IPv6 alias for localhost and start docker in the background ...
|
||||||
CMD cat /etc/hosts >/etc/hosts.bak && \
|
CMD cat /etc/hosts >/etc/hosts.bak && \
|
||||||
sed 's/^::1.*//' /etc/hosts.bak > /etc/hosts && \
|
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 & \
|
--storage-driver=$DOCKER_STORAGE_DRIVER &>/docker.log & \
|
||||||
while true ; do /bin/sh ; done
|
while true ; do /bin/sh ; done
|
||||||
# ... and then put a shell in the foreground, restarting it if it exits
|
# ... and then put a shell in the foreground, restarting it if it exits
|
||||||
|
Loading…
x
Reference in New Issue
Block a user