2015-10-18 23:47:32 +00:00
|
|
|
% DOCKER(1) Docker User Manuals
|
|
|
|
% Docker Community
|
|
|
|
% OCT 2015
|
|
|
|
# NAME
|
|
|
|
docker-network-disconnect - disconnect a container from a network
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2015-11-10 01:33:55 +00:00
|
|
|
**docker network disconnect**
|
2015-10-18 23:47:32 +00:00
|
|
|
[**--help**]
|
2016-01-13 04:56:36 +00:00
|
|
|
[**--force**]
|
2015-11-10 01:33:55 +00:00
|
|
|
NETWORK CONTAINER
|
2015-10-18 23:47:32 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2016-01-12 01:13:39 +00:00
|
|
|
Disconnects a container from a network.
|
2015-10-18 23:47:32 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker network disconnect multi-host-network container1
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
**NETWORK**
|
|
|
|
Specify network name
|
|
|
|
|
|
|
|
**CONTAINER**
|
|
|
|
Specify container name
|
|
|
|
|
2016-01-13 04:56:36 +00:00
|
|
|
**--force**
|
|
|
|
Force the container to disconnect from a network
|
|
|
|
|
2015-10-18 23:47:32 +00:00
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
OCT 2015, created by Mary Anthony <mary@docker.com>
|