molecule-plugins icon indicating copy to clipboard operation
molecule-plugins copied to clipboard

podman run container with multiple networks

Open guidograzioli opened this issue 3 years ago • 0 comments

Podman supports starting a container with `--network '<comma_separated_list_of_networks>'; and we had need of such type of setup in our test scenario here: https://github.com/guidograzioli/cross-dc-rhsso-demo/tree/molecule/molecule/default

The idea is generating one podman network for the aggregated set of all network: xxx coming from all platforms, then attaching to the list when running the containers, using an additional argument networks: [].

The final create.yml

If it could be beneficial for others, I am up to prepare a PR with this behaviour implemented.

guidograzioli avatar Jan 12 '22 15:01 guidograzioli