From aaa10d16b7252627c8709b18ae36b88feb79ca17 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Thu, 7 Apr 2016 14:14:25 -0700 Subject: [PATCH] fix restart docker in tests Signed-off-by: Victor Vieux --- test/integration/helpers.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/helpers.bash b/test/integration/helpers.bash index 00cae1da63..75378fd99f 100644 --- a/test/integration/helpers.bash +++ b/test/integration/helpers.bash @@ -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 \