enhancing set-macaddress docu #2

Signed-off-by: Malte Janduda <mail@janduda.net>
This commit is contained in:
Malte Janduda 2014-11-04 15:19:47 +01:00
parent 971fc2253a
commit 28605bc4d5
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ and foreground Docker containers.
'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure. 'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.
**--mac-address**=*macaddress* **--mac-address**=*macaddress*
Set the MAC address for the container's ethernet device: Set the MAC address for the container's Ethernet device:
--mac-address=12:34:56:78:9a:bc --mac-address=12:34:56:78:9a:bc
Remember that the MAC address in an Ethernet network must be unique. Remember that the MAC address in an Ethernet network must be unique.

View File

@ -140,7 +140,7 @@ example, `docker run ubuntu:14.04`.
'container:<name|id>': reuses another container network stack 'container:<name|id>': reuses another container network stack
'host': use the host network stack inside the container 'host': use the host network stack inside the container
--add-host="" : Add a line to /etc/hosts (host:IP) --add-host="" : Add a line to /etc/hosts (host:IP)
--mac-address="" : Sets the container's ethernet device's MAC address --mac-address="" : Sets the container's Ethernet device's MAC address
By default, all containers have networking enabled and they can make any By default, all containers have networking enabled and they can make any
outgoing connections. The operator can completely disable networking outgoing connections. The operator can completely disable networking