mirror of https://github.com/docker/docs.git
Fix argument name to docker network create (#21966)
<!--Delete sections as needed -->
## Description
```
$ docker network create --help | grep opt
--ipam-opt map Set IPAM driver specific options (default map[])
-o, --opt map Set driver specific options (default map[])
```
So the documentation should be changed from using --option to --opt.
This commit is contained in:
parent
6c679a648d
commit
65585fdd6c
|
|
@ -103,7 +103,7 @@ flag.
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
The following table describes the driver-specific options that you can pass to
|
The following table describes the driver-specific options that you can pass to
|
||||||
`--option` when creating a custom network using the `bridge` driver.
|
`--opt` when creating a custom network using the `bridge` driver.
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
|-------------------------------------------------------------------------------------------------|-----------------------------|------------------------------------------------------------------------------------------------|
|
|-------------------------------------------------------------------------------------------------|-----------------------------|------------------------------------------------------------------------------------------------|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ is no need for port mappings in these scenarios.
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
The following table describes the driver-specific options that you can pass to
|
The following table describes the driver-specific options that you can pass to
|
||||||
`--option` when creating a network using the `ipvlan` driver.
|
`--opt` when creating a network using the `ipvlan` driver.
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------- | -------- | --------------------------------------------------------------------- |
|
| ------------- | -------- | --------------------------------------------------------------------- |
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ Keep the following things in mind:
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
The following table describes the driver-specific options that you can pass to
|
The following table describes the driver-specific options that you can pass to
|
||||||
`--option` when creating a network using the `macvlan` driver.
|
`--opt` when creating a network using the `macvlan` driver.
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------- | -------- | ----------------------------------------------------------------------------- |
|
| -------------- | -------- | ----------------------------------------------------------------------------- |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue