mirror of https://github.com/docker/docs.git
fix restart docker in tests
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
34d4cae503
commit
aaa10d16b7
|
@ -207,6 +207,8 @@ function start_docker() {
|
|||
${DOCKER_IMAGE}:${DOCKER_VERSION} \
|
||||
bash -c "\
|
||||
rm /var/run/docker.pid ; \
|
||||
rm /var/run/docker/libcontainerd/docker-containerd.pid ; \
|
||||
rm /var/run/docker/libcontainerd/docker-containerd.sock ; \
|
||||
hostname node-$i && \
|
||||
docker daemon -H 127.0.0.1:$port \
|
||||
-H=unix:///var/run/docker.sock \
|
||||
|
|
Loading…
Reference in New Issue