mirror of
https://github.com/containers/podman.git
synced 2025-07-31 12:22:29 +08:00

Compose v2 uses dashes as separators instead of hyphens. This broke some tests that relied upon container names. Set the name conditionally to make it safe for both. Signed-off-by: Matthew Heon <mheon@redhat.com>
two networks
This test checks that we can create containers with more than one network.
Validation
- podman container inspect two_networks_con1_1 --format '{{len .NetworkSettings.Networks}}' shows 2