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