Parcourir la source

Merge pull request #22086 from aboch/doc

Clarify container external connectivity in multi-network scenario
Vincent Demeester il y a 9 ans
Parent
commit
e764e0215e
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      docs/userguide/networking/dockernetworks.md

+ 3 - 1
docs/userguide/networking/dockernetworks.md

@@ -293,7 +293,9 @@ specifications.
 You can create multiple networks. You can add containers to more than one
 You can create multiple networks. You can add containers to more than one
 network. Containers can only communicate within networks but not across
 network. Containers can only communicate within networks but not across
 networks. A container attached to two networks can communicate with member
 networks. A container attached to two networks can communicate with member
-containers in either network.
+containers in either network. When a container is connected to multiple
+networks, its external connectivity is provided via the first non-internal
+network, in lexical order.
 
 
 The next few sections describe each of Docker's built-in network drivers in
 The next few sections describe each of Docker's built-in network drivers in
 greater detail.
 greater detail.