mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
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>
Upstream-commit: e686b4d8be
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
0570aaed74
commit
b9b85d551f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user