From 264a2cd2ad50c0ae78467da0021bbb7f660f1dc4 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 27 Apr 2017 22:17:37 +0000 Subject: [PATCH] Remove plugin socket from mounted host directory --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 8b549d57..b433a318 100755 --- a/weave +++ b/weave @@ -1448,7 +1448,7 @@ stop_proxy() { protect_against_docker_hang() { # If the plugin is not running, remove its socket so Docker doesn't try to talk to it if ! is_plugin_v2_enabled 2>/dev/null ; then - rm -f /run/docker/plugins/weave.sock /run/docker/plugins/weavemesh.sock + rm -f $HOST_ROOT/run/docker/plugins/weave.sock $HOST_ROOT/run/docker/plugins/weavemesh.sock fi }