mirror of https://github.com/docker/cli.git
33 lines
590 B
Markdown
33 lines
590 B
Markdown
% DOCKER(1) Docker User Manuals
|
|
% Docker Community
|
|
% OCT 2015
|
|
# NAME
|
|
docker-network-disconnect - disconnect a container from a network
|
|
|
|
# SYNOPSIS
|
|
**docker network disconnect**
|
|
[**--help**]
|
|
NETWORK CONTAINER
|
|
|
|
# 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>
|