spiegel_podman/cmd/podman/containers
Paul Holzinger 535818414c
support advanced network configuration via cli
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>
2021-12-14 15:23:39 +01:00
..
attach.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
checkpoint.go Add --file-locks checkpoint/restore option 2021-11-18 19:23:25 +00:00
cleanup.go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
commit.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
container.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
cp.go cp: consolidate and simplify 2021-07-28 11:18:47 +02:00
create.go support advanced network configuration via cli 2021-12-14 15:23:39 +01:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
exec.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
exists.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
export.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
init.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
inspect.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
kill.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
list.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
logs.go logFile until flag issue 2021-08-23 12:51:56 -04:00
mount.go [NO NEW TESTS NEEDED] Refactor podman container command output 2021-12-01 11:17:40 -07:00
pause.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
port.go libpod: deduplicate ports in db 2021-10-27 18:59:56 +02:00
prune.go InfraContainer Rework 2021-08-26 16:05:16 -04:00
ps.go [NO NEW TESTS NEEDED] Refactor podman container command output 2021-12-01 11:17:40 -07:00
rename.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
restart.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
restore.go Add --file-locks checkpoint/restore option 2021-11-18 19:23:25 +00:00
rm.go Add --time out for podman * rm -f commands 2021-10-04 07:07:56 -04:00
run.go support advanced network configuration via cli 2021-12-14 15:23:39 +01:00
runlabel.go podman-remote does not support signature-policy 2021-11-19 13:55:10 -05:00
start.go System tests: confirm that -a and -l clash 2021-10-20 11:09:32 -06:00
stats.go [NO NEW TESTS NEEDED] Refactor podman container command output 2021-12-01 11:17:40 -07:00
stop.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
top.go [NO NEW TESTS NEEDED] Refactor podman container command output 2021-12-01 11:17:40 -07:00
unmount.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00
unpause.go Update vendor or containers/common moving pkg/cgroups there 2021-12-07 06:17:11 -05:00
utils.go Podman V2 birth 2020-04-16 15:53:58 -05:00
wait.go [Techinal Debt] Cleanup ABI vs. Tunnel CLI commands 2021-05-27 11:40:43 -07:00