1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #11028 from jstangroome/patch-1

Correct IP/MAC address generation docs
Upstream-commit: 33bec0a7f63695d6fa60a79c8732d49623d30223
Component: engine
This commit is contained in:
James Turnbull
2015-03-19 01:44:43 -04:00

View File

@@ -854,10 +854,11 @@ The steps with which Docker configures a container are:
5. Give the container's `eth0` a new IP address from within the
bridge's range of network addresses, and set its default route to
the IP address that the Docker host owns on the bridge. If available
the IP address is generated from the MAC address. This prevents ARP
cache invalidation problems, when a new container comes up with an
IP used in the past by another container with another MAC.
the IP address that the Docker host owns on the bridge. The MAC
address is generated from the IP address unless otherwise specified.
This prevents ARP cache invalidation problems, when a new container
comes up with an IP used in the past by another container with another
MAC.
With these steps complete, the container now possesses an `eth0`
(virtual) network card and will find itself able to communicate with