Update docs for enableipv6

Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
This commit is contained in:
Aidan Hobson Sayers 2016-02-23 16:08:09 +00:00 committed by Tibor Vass
parent fafe6f2ab2
commit 543ca10394
1 changed files with 9 additions and 5 deletions

View File

@ -136,12 +136,16 @@ The following are those options and the equivalent docker daemon flags used for
| `com.docker.network.bridge.host_binding_ipv4` | `--ip` | Default IP when binding container ports |
| `com.docker.network.mtu` | `--mtu` | Set the containers network MTU |
The following arguments can be passed to `docker network create` for any network driver.
The following arguments can be passed to `docker network create` for any network driver, again with their approximate
equivalents to `docker daemon`.
| Argument | Equivalent | Description |
|--------------|------------|------------------------------------------|
|--------------|----------------|--------------------------------------------|
| `--gateway` | - | ipv4 or ipv6 Gateway for the master subnet |
| `--ip-range` | `--fixed-cidr` | Allocate IPs from a range |
| `--internal` | - | Restricts external access to the network |
| `--ipv6` | `--ipv6` | Enable IPv6 networking |
| `--subnet` | `--bip` | Subnet for network |
For example, let's use `-o` or `--opt` options to specify an IP address binding when publishing ports: