Forced endpoint cleanup

docker's network disconnect api now supports `Force` option which can be
used to force cleanup an endpoint from any host in the cluster.

Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
Madhu Venugopal 2016-01-12 20:56:36 -08:00 committed by Tibor Vass
parent d3aa590eec
commit e686b4d8be
2 changed files with 6 additions and 0 deletions

View File

@ -12,8 +12,10 @@ parent = "smn_cli"
Usage: docker network disconnect [OPTIONS] NETWORK CONTAINER
Disconnects a container from a network
-f, --force Force the container to disconnect from a network
--help Print usage
Disconnects a container from a network. The container must be running to disconnect it from the network.

View File

@ -7,6 +7,7 @@ docker-network-disconnect - disconnect a container from a network
# SYNOPSIS
**docker network disconnect**
[**--help**]
[**--force**]
NETWORK CONTAINER
# DESCRIPTION
@ -25,6 +26,9 @@ Disconnects a container from a network.
**CONTAINER**
Specify container name
**--force**
Force the container to disconnect from a network
**--help**
Print usage statement