mirror of
https://github.com/containers/podman.git
synced 2025-10-18 03:33:32 +08:00
Add information on metrics to the network create
docs
Add documentation on the new Netavark option, `metric`, used to set default route preference for containers joined to multiple networks. [NO NEW TESTS NEEDED] Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
@ -72,7 +72,9 @@ Set metadata for a network (e.g., --label mykey=value).
|
||||
|
||||
Set driver specific options.
|
||||
|
||||
All drivers accept the `mtu` option. The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value.
|
||||
All drivers accept the `mtu` and `metric` options.
|
||||
- `mtu`: Sets the Maximum Transmission Unit (MTU) and takes an integer value.
|
||||
- `metric` Sets the Route Metric for the default route created in every container joined to this network. Accepts a positive integer value. Can only be used with the Netavark network backend.
|
||||
|
||||
Additionally the `bridge` driver supports the following options:
|
||||
- `vlan`: This option assign VLAN tag and enables vlan\_filtering. Defaults to none.
|
||||
|
Reference in New Issue
Block a user