Merge pull request #20409 from Luap99/port-fw

[CI:DOCS] network: document ports and macvlan interaction
This commit is contained in:
openshift-ci[bot]
2023-10-19 19:48:37 +00:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@ -21,3 +21,6 @@ Host port does not have to be specified (e.g. `podman run -p 127.0.0.1::80`).
If it is not, the container port is randomly assigned a port on the host.
Use **podman port** to see the actual mapping: `podman port $CONTAINER $CONTAINERPORT`.
Note that the network drivers `macvlan` and `ipvlan` do not support port forwarding,
it will have no effect on these networks.

View File

@ -43,6 +43,9 @@ under the `[network]` section.
The name of the plugin can then be used as driver to create a network for your plugin.
The list of all supported drivers and plugins can be seen with `podman info --format {{.Plugins.Network}}`.
Note that the `macvlan` and `ipvlan` drivers do not support port forwarding. Support for port forwarding
with a plugin depends on the implementation of the plugin.
#### **--gateway**=*ip*
Define a gateway for the subnet. To provide a gateway address, a