From 8a92b052fe9e3a877bcf3662c65397193cdc6af7 Mon Sep 17 00:00:00 2001 From: Grant Mitchell <35341268+grant350@users.noreply.github.com> Date: Wed, 13 Jul 2022 14:45:05 -0700 Subject: [PATCH] changed table thought it would be helpful to have some examples right next to the label names to get a quick understanding of whats needed. helps visual learners --- docs/reference/commandline/network_create.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference/commandline/network_create.md b/docs/reference/commandline/network_create.md index 1b68afdb99..b3de6d4fc5 100644 --- a/docs/reference/commandline/network_create.md +++ b/docs/reference/commandline/network_create.md @@ -158,14 +158,14 @@ When creating a custom network, the default network driver (i.e. `bridge`) has additional options that can be passed. The following are those options and the equivalent docker daemon flags used for docker0 bridge: -| Option | Equivalent | Description | -|--------------------------------------------------|-------------|-------------------------------------------------------| -| `com.docker.network.bridge.name` | - | Bridge name to be used when creating the Linux bridge | -| `com.docker.network.bridge.enable_ip_masquerade` | `--ip-masq` | Enable IP masquerading | -| `com.docker.network.bridge.enable_icc` | `--icc` | Enable or Disable Inter Container Connectivity | -| `com.docker.network.bridge.host_binding_ipv4` | `--ip` | Default IP when binding container ports | -| `com.docker.network.driver.mtu` | `--mtu` | Set the containers network MTU | -| `com.docker.network.container_iface_prefix` | - | Set a custom prefix for container interfaces | +| Option | Equivalent | Description | Example +|--------------------------------------------------|-------------|-------------------------------------------------------|----------------------| +| `com.docker.network.bridge.name` | - | Bridge name to be used when creating the Linux bridge | dockerO | +| `com.docker.network.bridge.enable_ip_masquerade` | `--ip-masq` | Enable IP masquerading | true | +| `com.docker.network.bridge.enable_icc` | `--icc` | Enable or Disable Inter Container Connectivity | true | +| `com.docker.network.bridge.host_binding_ipv4` | `--ip` | Default IP when binding container ports | 0.0.0.0 | +| `com.docker.network.driver.mtu` | `--mtu` | Set the containers network MTU | 1500 | +| `com.docker.network.container_iface_prefix` | - | Set a custom prefix for container interfaces | myprefix | The following arguments can be passed to `docker network create` for any network driver, again with their approximate equivalents to `docker daemon`.