enhancing set-macaddress docu

Signed-off-by: Malte Janduda <mail@janduda.net>
master
Malte Janduda 2014-11-03 11:43:11 +01:00 committed by Tibor Vass
parent ad1a9d8d2f
commit a9e9f21f0f
1 changed files with 4 additions and 4 deletions

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
@ -151,9 +151,9 @@ networking. In cases like this, you would perform I/O through files or
Your container will use the same DNS servers as the host by default, but Your container will use the same DNS servers as the host by default, but
you can override this with `--dns`. you can override this with `--dns`.
By default a random mac is generated. You can set the container's mac address By default a random MAC is generated. You can set the container's MAC address
explicitly by providing a mac via the `--mac-address` parameter (format: explicitly by providing a MAC via the `--mac-address` parameter (format:
12:34:56:78:9a:bc). `12:34:56:78:9a:bc`).
Supported networking modes are: Supported networking modes are: