Support detaching on containers created in container networking mode.

This commit is contained in:
Liang-Chi Hsieh committed 2014-12-29 23:14:59 +08:00
1 parent 70eea06de0
commit 961b1eb3de
1 file changed
+1 -1
+1 -1
View File
@@ -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