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: b464f1d78cdfa2a4124e083b8f7b0f2353f12de3
Component: engine
This commit is contained in:
Madhu Venugopal
2016-01-12 20:56:36 -08:00
parent b4989a8d3c
commit 2b7ea75ef2
11 changed files with 62 additions and 10 deletions

View File

@ -3073,7 +3073,8 @@ POST /networks/22be93d5babb089c5aab8dbc369042fad48ff791584ca2da2100db837a1c7c30/
Content-Type: application/json
{
"Container":"3613f73ba0e4"
"Container":"3613f73ba0e4",
"Force":false
}
```
@ -3090,6 +3091,7 @@ Status Codes:
JSON Parameters:
- **Container** - container-id/name to be disconnected from a network
- **Force** - Force the container to disconnect from a network
### Remove a network