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
|
||||
|
||||
|
||||
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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue