diff --git a/docs/reference/commandline/network_connect.md b/docs/reference/commandline/network_connect.md index a4ef2ebb4f..ce968d4dd9 100644 --- a/docs/reference/commandline/network_connect.md +++ b/docs/reference/commandline/network_connect.md @@ -53,11 +53,8 @@ being connected to. ```bash $ docker network connect --alias db --alias mysql multi-host-network container2 ``` - 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 container is restarted. If the IP address is no longer available, the container diff --git a/man/docker-network-connect.1.md b/man/docker-network-connect.1.md index d6ee159391..9cc012ea4f 100644 --- a/man/docker-network-connect.1.md +++ b/man/docker-network-connect.1.md @@ -24,11 +24,8 @@ You can also use the `docker run --net=` option to start a contain ```bash $ 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. -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 container is restarted. If the IP address is no longer available, the container