Merge pull request #304 from viirya/fix_detach
Support detaching on containers created in container networking mode.
This commit is contained in:
commit
d7405bf8d5
1 file changed
+1
-1
@@ -270,7 +270,7 @@ detach() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Deleting the interface will delete the multicast route we set up
|
# 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
|
# Call url $4 with http verb $3 on container $1 at port $2
|
||||||
|
|||||||
Reference in new issue
Block a user