mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
enhancing set-macaddress docu #2
Signed-off-by: Malte Janduda <mail@janduda.net>
This commit is contained in:
parent
971fc2253a
commit
28605bc4d5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue