From 7bbc9f1b82cdddd0844892bd2ecdd2f5687a93a6 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 9 Feb 2016 10:02:06 +0000 Subject: [PATCH] Don't remove the weave network on shutdown because it bricks Docker 1.10 --- prog/plugin/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/prog/plugin/main.go b/prog/plugin/main.go index 98e5fe42..766ded37 100644 --- a/prog/plugin/main.go +++ b/prog/plugin/main.go @@ -106,9 +106,6 @@ func run(dockerClient *docker.Client, address, meshAddress, meshNetworkName, nam select { case sig := <-sigChan: Log.Debugf("Caught signal %s; shutting down", sig) - if meshNetworkName != "" { - return dockerClient.Client.RemoveNetwork(meshNetworkName) - } return nil case err := <-endChan: return err