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**]
|
2015-11-09 20:33:55 -05:00
|
|
|
NETWORK CONTAINER
|
2015-10-18 19:47:32 -04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Disconnects a container from a network. The container must be running to disconnect it from the network.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker network disconnect multi-host-network container1
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
**NETWORK**
|
|
|
|
Specify network name
|
|
|
|
|
|
|
|
**CONTAINER**
|
|
|
|
Specify container name
|
|
|
|
|
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
OCT 2015, created by Mary Anthony <mary@docker.com>
|