From 04ab198e952e8811029a1686ee53b2ea3b2bd895 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Thu, 12 Nov 2015 13:07:14 +0000 Subject: [PATCH] Set restart policy to 'always' Docker attempts to recreate networks on startup which means the plugin container has to be started. If it isn't started automatically by Docker with a restart policy, it's not possible to start it manually because Docker is blocked. --- weave | 1 + 1 file changed, 1 insertion(+) diff --git a/weave b/weave index 06afef92..8e76b8fc 100755 --- a/weave +++ b/weave @@ -1563,6 +1563,7 @@ stop_proxy() { launch_plugin() { PLUGIN_CONTAINER=$(docker run --privileged -d --name=$PLUGIN_CONTAINER_NAME \ + --restart=always \ --net=host \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /run/docker/plugins:/run/docker/plugins \