From bdc79f4953e532a24a8d8a11355f25330514146d Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Tue, 23 Feb 2016 16:08:09 +0000 Subject: [PATCH] Update docs for enableipv6 Signed-off-by: Aidan Hobson Sayers Upstream-commit: 543ca103945c0d8fdf650758262b8c1272432291 Component: cli --- .../docs/reference/commandline/network_create.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/components/cli/docs/reference/commandline/network_create.md b/components/cli/docs/reference/commandline/network_create.md index 967eeb6378..6ae18e6e73 100644 --- a/components/cli/docs/reference/commandline/network_create.md +++ b/components/cli/docs/reference/commandline/network_create.md @@ -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 | -|--------------|------------|------------------------------------------| -| `--internal` | - | Restricts external access to the network | -| `--ipv6` | `--ipv6` | Enable IPv6 networking | +| 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: