mirror of https://github.com/docker/cli.git
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:
parent
d3aa590eec
commit
e686b4d8be
|
@ -12,8 +12,10 @@ parent = "smn_cli"
|
||||||
|
|
||||||
Usage: docker network disconnect [OPTIONS] NETWORK CONTAINER
|
Usage: docker network disconnect [OPTIONS] NETWORK CONTAINER
|
||||||
|
|
||||||
|
|
||||||
Disconnects a container from a network
|
Disconnects a container from a network
|
||||||
|
|
||||||
|
-f, --force Force the container to disconnect from a network
|
||||||
--help Print usage
|
--help Print usage
|
||||||
|
|
||||||
Disconnects a container from a network. The container must be running to disconnect it from the network.
|
Disconnects a container from a network. The container must be running to disconnect it from the network.
|
||||||
|
|
|
@ -7,6 +7,7 @@ docker-network-disconnect - disconnect a container from a network
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
**docker network disconnect**
|
**docker network disconnect**
|
||||||
[**--help**]
|
[**--help**]
|
||||||
|
[**--force**]
|
||||||
NETWORK CONTAINER
|
NETWORK CONTAINER
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
@ -25,6 +26,9 @@ Disconnects a container from a network.
|
||||||
**CONTAINER**
|
**CONTAINER**
|
||||||
Specify container name
|
Specify container name
|
||||||
|
|
||||||
|
**--force**
|
||||||
|
Force the container to disconnect from a network
|
||||||
|
|
||||||
**--help**
|
**--help**
|
||||||
Print usage statement
|
Print usage statement
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue