Add docker network connect/disconnect to non-running container

Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
Lei Jitang 2016-01-11 20:13:39 -05:00 committed by Tibor Vass
parent 5142d3a669
commit b5843f62f8
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ parent = "smn_cli"
--help Print usage --help Print usage
Connects a running container to a network. You can connect a container by name Connects a container to a network. You can connect a container by name
or by ID. Once connected, the container can communicate with other containers in or by ID. Once connected, the container can communicate with other containers in
the same network. the same network.

View File

@ -11,7 +11,7 @@ NETWORK CONTAINER
# DESCRIPTION # DESCRIPTION
Connects a running container to a network. You can connect a container by name Connects a container to a network. You can connect a container by name
or by ID. Once connected, the container can communicate with other containers in or by ID. Once connected, the container can communicate with other containers in
the same network. the same network.

View File

@ -11,7 +11,7 @@ NETWORK CONTAINER
# DESCRIPTION # DESCRIPTION
Disconnects a container from a network. The container must be running to disconnect it from the network. Disconnects a container from a network.
```bash ```bash
$ docker network disconnect multi-host-network container1 $ docker network disconnect multi-host-network container1