mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
33 lines
591 B
Markdown
33 lines
591 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 NETWORK CONTAINER**
|
||
|
|
||
|
[**--help**]
|
||
|
|
||
|
# 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>
|