engine: add ipvlan driver opts

Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
David Karlsson 2023-04-24 16:25:03 +02:00
parent ab9ac9a7c5
commit cab907f3c0
1 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,17 @@ setup consisting of container interfaces, attached directly to the Docker host
interface. This result is easy to access for external facing services as there
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.
| Option | Default | Description |
| ------------- | -------- | --------------------------------------------------------------------- |
| `ipvlan_mode` | `l2` | Sets the IPvlan operating mode. Can be one of: `l2`, `l3`, `l3s` |
| `ipvlan_flag` | `bridge` | Sets the IPvlan mode flag. Can be one of: `bridge`, `private`, `vepa` |
| `parent` | | Specifies the parent interface to use. |
## Prerequisites
- The examples on this page are all single host.