network_mode can also take the name of a network as value.

Signed-off-by: Nicolas Delaby <nicolas.delaby@lock8.me>
This commit is contained in:
Nicolas Delaby 2015-12-01 10:27:30 +01:00
parent 43b0ea5358
commit 497442169c
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ of docker remote API. Otherwise they are ignored.
`network_mode` is available since v1.11 and sets the Network mode for the
container ('bridge': creates a new network stack for the container on the
Docker bridge, 'none': no networking for this container, 'container:[name|id]':
reuses another container network stack), 'host': use the host network stack
inside the container.
reuses another container network stack, 'host': use the host network stack
inside the container or any name that identifies an existing Docker network).
`restart_policy` is available since v1.2.0 and sets the container's *RestartPolicy*
which defines the conditions under which a container should be restarted upon exit.