From 961b1eb3de2945ab905b1ce0d11fa2a49adb1d59 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Mon, 29 Dec 2014 23:14:59 +0800 Subject: [PATCH] Support detaching on containers created in container networking mode. --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 40dca54e..1f6dc1ca 100755 --- a/weave +++ b/weave @@ -270,7 +270,7 @@ detach() { fi # Deleting the interface will delete the multicast route we set up - ip link del $LOCAL_IFNAME type veth + ip netns exec $NETNS ip link del $CONTAINER_IFNAME type veth } # Call url $4 with http verb $3 on container $1 at port $2