소스 검색

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

Signed-off-by: dattatrayakumbhar04 <dattatraya.kumbhar@gslab.com>
(cherry picked from commit 16c9cdad6fd7c78600e795cad03ec8b34cba0371)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
dattatrayakumbhar04 8 년 전
부모
커밋
fcc38c048c
2개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 4
      docs/reference/commandline/network_connect.md
  2. 1 4
      man/docker-network-connect.1.md

+ 1 - 4
docs/reference/commandline/network_connect.md

@@ -61,11 +61,8 @@ being connected to.
 ```bash
 ```bash
 $ docker network connect --alias db --alias mysql multi-host-network container2
 $ docker network connect --alias db --alias mysql multi-host-network container2
 ```
 ```
-
 You can pause, restart, and stop containers that are connected to a network.
 You can pause, restart, and stop containers that are connected to a network.
-Paused containers remain connected and can be revealed by a `network inspect`.
-When the container is stopped, it does not appear on the network until you restart
-it.
+A container connects to its configured networks when it runs.
 
 
 If specified, the container's IP address(es) is reapplied when a stopped
 If specified, the container's IP address(es) is reapplied when a stopped
 container is restarted. If the IP address is no longer available, the container
 container is restarted. If the IP address is no longer available, the container

+ 1 - 4
man/docker-network-connect.1.md

@@ -24,11 +24,8 @@ You can also use the `docker run --net=<network-name>` option to start a contain
 ```bash
 ```bash
 $ docker run -itd --net=multi-host-network --ip 172.20.88.22 --ip6 2001:db8::8822 busybox
 $ docker run -itd --net=multi-host-network --ip 172.20.88.22 --ip6 2001:db8::8822 busybox
 ```
 ```
-
 You can pause, restart, and stop containers that are connected to a network.
 You can pause, restart, and stop containers that are connected to a network.
-Paused containers remain connected and can be revealed by a `network inspect`.
-When the container is stopped, it does not appear on the network until you restart
-it.
+A container connects to its configured networks when it runs.
 
 
 If specified, the container's IP address(es) is reapplied when a stopped
 If specified, the container's IP address(es) is reapplied when a stopped
 container is restarted. If the IP address is no longer available, the container
 container is restarted. If the IP address is no longer available, the container