From e686b4d8be7377d8be9e946a589a6cb5bfa5655c Mon Sep 17 00:00:00 2001 From: Madhu Venugopal Date: Tue, 12 Jan 2016 20:56:36 -0800 Subject: [PATCH] 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 --- docs/reference/commandline/network_disconnect.md | 2 ++ man/docker-network-disconnect.1.md | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/docs/reference/commandline/network_disconnect.md b/docs/reference/commandline/network_disconnect.md index 7fb7a7c42e..10c4f16ea2 100644 --- a/docs/reference/commandline/network_disconnect.md +++ b/docs/reference/commandline/network_disconnect.md @@ -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. diff --git a/man/docker-network-disconnect.1.md b/man/docker-network-disconnect.1.md index bfe85ad23a..09bcac51b0 100644 --- a/man/docker-network-disconnect.1.md +++ b/man/docker-network-disconnect.1.md @@ -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