Closed ypu closed 1 year ago
@ypu perhaps you could suggest what you would want to see?
Thanks @baude for your advice. Following doc looks more clear for me.
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.
- isolate: This option isolates networks by blocking traffic between those that have this option enabled.
The macvlan and ipvlan driver support the following options:
- parent: The host device which should be used for the macvlan interface. Defaults to the default route interface.
- mode: This option sets the specified ip/macvlan mode on the interface.
- Supported values for macvlan are bridge, private, vepa, passthru. Defaults to bridge.
- Supported values for ipvlan are l2, l3, l3s. Defaults to l2.
It is correctly rendered in html: https://docs.podman.io/en/latest/markdown/podman-network-create.1.html So likely the man page converter is failing us here.
Yup. I just opened a PR to clean these up. since I saw them while working on quadlet. https://github.com/containers/podman/pull/17440
Thanks @rhatdan, PR is merged so we are good to close.
Issue Description
The manual of podman-network-create needs an update in the --option part. Currently the format is a little mess up. We need a new line for options introduce like -mtu, -metric and so on: ` --opt, -o=option Set driver specific options.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
The manual format is a little mess
Describe the results you expected
introductions about the options are start with new line and looks more clearly.
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting