#!/bin/bash## kola:## # Must not run this test with another podman test## exclusive: true## # We only ship moby/docker in FCOS## distros: fcos## # This test pulls a container image from remote sources.## tags: "platform-independent needs-internet"## description: Verify that swarm overlay networks bridge automatically allowing access to internet (google.com)set -xeuo pipefail# shellcheck disable=SC1091. "$KOLA_EXT_DATA/commonlib.sh"container=$(get_fedora_minimal_container_ref)main() {docker swarm initdocker network create --driver overlay --attachable testnetworkdocker run -t --network=testnetwork $container curl https://icanhazip.com}if main; thenok "Docker swarm overlay network working. Test passes."elsefatal "Docker swarm overlay working not functional. Test fails."fi