Use --net=host for nested containers in CI
Some checks failed
/ DCO (pull_request) Failing after 57s
/ Builds (pull_request) Successful in 1m12s
/ Lint (pull_request) Successful in 3m7s
/ Test (pull_request) Failing after 5m47s

Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
Vitaliy Potyarkin 2025-01-15 12:13:46 +03:00
parent 959f94244a
commit 867aae5d3a

View file

@ -53,7 +53,7 @@ jobs:
printf "[TestFrostFS]\ntype = frostfs\nendpoint = localhost:8080\nwallet = /config/wallet.json\nplacement_policy = REP 1\nrequest_timeout = 20s\nconnection_timeout = 21s" > /config/rclone.conf
echo "run frostfs aio container"
docker run -d --net=none --name aio $AIO_IMAGE:$AIO_VERSION --restart always -p 8080:8080
docker run -d --net=host --name aio $AIO_IMAGE:$AIO_VERSION --restart always -p 8080:8080
docker logs -f aio &
echo "issue creds"