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:
Petteri Räty 2025-02-05 13:01:18 +02:00 committed by GitHub
parent 6c679a648d
commit 65585fdd6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ flag.
## Options
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 |
|-------------------------------------------------------------------------------------------------|-----------------------------|------------------------------------------------------------------------------------------------|

View File

@ -32,7 +32,7 @@ is no need for port mappings in these scenarios.
## Options
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 |
| ------------- | -------- | --------------------------------------------------------------------- |

View File

@ -35,7 +35,7 @@ Keep the following things in mind:
## Options
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 |
| -------------- | -------- | ----------------------------------------------------------------------------- |