summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-network-create.1.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/podman-network-create.1.md')
-rw-r--r--docs/source/markdown/podman-network-create.1.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md
index 9a8c4f72d..3d5d98055 100644
--- a/docs/source/markdown/podman-network-create.1.md
+++ b/docs/source/markdown/podman-network-create.1.md
@@ -18,16 +18,16 @@ If no options are provided, Podman will assign a free subnet and name for your n
Upon completion of creating the network, Podman will display the path to the newly added network file.
## OPTIONS
-#### **\-\-disable-dns**
+#### **--disable-dns**
Disables the DNS plugin for this network which if enabled, can perform container to container name
resolution.
-#### **\-\-driver**, **-d**
+#### **--driver**, **-d**
Driver to manage the network (default "bridge"). Currently only `bridge` is supported.
-#### **\-\-opt**=*option*, **-o**
+#### **--opt**=*option*, **-o**
Set driver specific options.
@@ -35,37 +35,37 @@ For the `bridge` driver the following options are supported: `mtu` and `vlan`.
The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value.
The `vlan` option assign VLAN tag and enables vlan\_filtering. Defaults to none.
-#### **\-\-gateway**
+#### **--gateway**
Define a gateway for the subnet. If you want to provide a gateway address, you must also provide a
*subnet* option.
-#### **\-\-internal**
+#### **--internal**
Restrict external access of this network. Note when using this option, the dnsname plugin will be
automatically disabled.
-#### **\-\-ip-range**
+#### **--ip-range**
Allocate container IP from a range. The range must be a complete subnet and in CIDR notation. The *ip-range* option
must be used with a *subnet* option.
-#### **\-\-label**
+#### **--label**
Set metadata for a network (e.g., --label mykey=value).
-#### **\-\-macvlan**
+#### **--macvlan**
*This option is being deprecated*
Create a *Macvlan* based connection rather than a classic bridge. You must pass an interface name from the host for the
Macvlan connection.
-#### **\-\-subnet**
+#### **--subnet**
The subnet in CIDR notation.
-#### **\-\-ipv6**
+#### **--ipv6**
Enable IPv6 (Dual Stack) networking. You must pass a IPv6 subnet. The *subnet* option must be used with the *ipv6* option.