enhancing set-macaddress docu #2
Signed-off-by: Malte Janduda <mail@janduda.net> Upstream-commit: 28605bc4d55bcfc7a5562e4de3e01b1d5cd9bdcd Component: engine
This commit is contained in:
@ -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.
|
||||
|
||||
**--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
|
||||
|
||||
Remember that the MAC address in an Ethernet network must be unique.
|
||||
|
||||
@ -140,7 +140,7 @@ example, `docker run ubuntu:14.04`.
|
||||
'container:<name|id>': reuses another container network stack
|
||||
'host': use the host network stack inside the container
|
||||
--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
|
||||
outgoing connections. The operator can completely disable networking
|
||||
|
||||
Reference in New Issue
Block a user