From 65585fdd6cef3bb4572f177fcab9c6354e75b748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petteri=20R=C3=A4ty?= Date: Wed, 5 Feb 2025 13:01:18 +0200 Subject: [PATCH] Fix argument name to docker network create (#21966) ## 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. --- content/manuals/engine/network/drivers/bridge.md | 2 +- content/manuals/engine/network/drivers/ipvlan.md | 2 +- content/manuals/engine/network/drivers/macvlan.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/manuals/engine/network/drivers/bridge.md b/content/manuals/engine/network/drivers/bridge.md index 03d3c40220..19b80c0077 100644 --- a/content/manuals/engine/network/drivers/bridge.md +++ b/content/manuals/engine/network/drivers/bridge.md @@ -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 | |-------------------------------------------------------------------------------------------------|-----------------------------|------------------------------------------------------------------------------------------------| diff --git a/content/manuals/engine/network/drivers/ipvlan.md b/content/manuals/engine/network/drivers/ipvlan.md index f33e779d9f..c5adad016e 100644 --- a/content/manuals/engine/network/drivers/ipvlan.md +++ b/content/manuals/engine/network/drivers/ipvlan.md @@ -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 | | ------------- | -------- | --------------------------------------------------------------------- | diff --git a/content/manuals/engine/network/drivers/macvlan.md b/content/manuals/engine/network/drivers/macvlan.md index 3817c01137..43e67a7a04 100644 --- a/content/manuals/engine/network/drivers/macvlan.md +++ b/content/manuals/engine/network/drivers/macvlan.md @@ -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 | | -------------- | -------- | ----------------------------------------------------------------------------- |