mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-30 17:57:45 +00:00
Rework the --network parse logic to support multiple networks with specific network configuration settings. --network can now be set multiple times. For bridge network mode the following options have been added: - **alias=name**: Add network-scoped alias for the container. - **ip=IPv4**: Specify a static ipv4 address for this container. - **ip=IPv6**: Specify a static ipv6 address for this container. - **mac=MAC**: Specify a static mac address address for this container. - **interface_name**: Specify a name for the created network interface inside the container. So now you can set --network bridge:ip=10.88.0.10,mac=44:33:22:11:00:99 for the default bridge network as well as for network names. This is better than using --ip because we can set the ip per network without any confusion which network the ip address should be assigned to. The --ip, --mac-address and --network-alias options are still supported but --ip or --mac-address can only be set when only one network is set. This limitation already existed previously. The ability to specify a custom network interface name is new Fixes #11534 Signed-off-by: Paul Holzinger <pholzing@redhat.com> |
||
|---|---|---|
| .. | ||
| attach.go | ||
| checkpoint.go | ||
| cleanup.go | ||
| commit.go | ||
| container.go | ||
| cp.go | ||
| create.go | ||
| diff.go | ||
| exec.go | ||
| exists.go | ||
| export.go | ||
| init.go | ||
| inspect.go | ||
| kill.go | ||
| list.go | ||
| logs.go | ||
| mount.go | ||
| pause.go | ||
| port.go | ||
| prune.go | ||
| ps.go | ||
| rename.go | ||
| restart.go | ||
| restore.go | ||
| rm.go | ||
| run.go | ||
| runlabel.go | ||
| start.go | ||
| stats.go | ||
| stop.go | ||
| top.go | ||
| unmount.go | ||
| unpause.go | ||
| utils.go | ||
| wait.go | ||