Browse Source

Update networking doc with clarified text regarding links usage

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Erik Hollensbe 11 years ago
parent
commit
f6a2fc4c33
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/sources/articles/networking.md

+ 4 - 4
docs/sources/articles/networking.md

@@ -150,10 +150,10 @@ Four different options affect container domain name services.
     `CONTAINER_NAME`.  This lets processes inside the new container
     connect to the hostname `ALIAS` without having to know its IP.  The
     `--link=` option is discussed in more detail below, in the section
-    [Communication between containers](#between-containers).  Docker updates
-    the ALIAS entry in the /etc/hosts file of the recipient containers
-    in order to keep the link since Docker may assign a different IP
-    address to the linked containers on restart.
+    [Communication between containers](#between-containers). Because
+    Docker may assign a different IP address to the linked containers
+    on restart, Docker updates the ALIAS entry in the /etc/hosts file
+    of the recipient containers.
 
  *  `--dns=IP_ADDRESS...` — sets the IP addresses added as `server`
     lines to the container's `/etc/resolv.conf` file.  Processes in the