Browse code

28600: Docs: network connect for container in Created/Stopped state

Signed-off-by: dattatrayakumbhar04 <dattatraya.kumbhar@gslab.com>

dattatrayakumbhar04 authored on 2016/11/19 05:46:10
Showing 2 changed files
... ...
@@ -61,11 +61,8 @@ being connected to.
61 61
 ```bash
62 62
 $ docker network connect --alias db --alias mysql multi-host-network container2
63 63
 ```
64
-
65 64
 You can pause, restart, and stop containers that are connected to a network.
66
-Paused containers remain connected and can be revealed by a `network inspect`.
67
-When the container is stopped, it does not appear on the network until you restart
68
-it.
65
+A container connects to its configured networks when it runs.
69 66
 
70 67
 If specified, the container's IP address(es) is reapplied when a stopped
71 68
 container is restarted. If the IP address is no longer available, the container
... ...
@@ -24,11 +24,8 @@ You can also use the `docker run --net=<network-name>` option to start a contain
24 24
 ```bash
25 25
 $ docker run -itd --net=multi-host-network --ip 172.20.88.22 --ip6 2001:db8::8822 busybox
26 26
 ```
27
-
28 27
 You can pause, restart, and stop containers that are connected to a network.
29
-Paused containers remain connected and can be revealed by a `network inspect`.
30
-When the container is stopped, it does not appear on the network until you restart
31
-it.
28
+A container connects to its configured networks when it runs.
32 29
 
33 30
 If specified, the container's IP address(es) is reapplied when a stopped
34 31
 container is restarted. If the IP address is no longer available, the container