Skip to content

Commit

Permalink
workaround no DNS relay by docker (moby/moby#47589)
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Apr 22, 2024
1 parent e18c01b commit 7689508
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lib_test.sh
Expand Up @@ -212,7 +212,8 @@ wait_verify_internet ()
docker exec -t testcon ping -c3 $dockerip
docker network inspect testnet
sudo iptables -t nat -L
testurl=http://azure.archive.ubuntu.com/ubuntu
ip=$(dig +short azure.archive.ubuntu.com | grep '^[.0-9]*$')
testurl=http://$ip/ubuntu
docker exec -t testcon wget -O/dev/null $testurl || exit 1
}

Expand Down

0 comments on commit 7689508

Please sign in to comment.