Merge pull request #304 from viirya/fix_detach

Support detaching on containers created in container networking mode.
This commit is contained in:
rade committed 2014-12-29 15:41:03 +00:00
commit d7405bf8d5
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