From f4c482c276ef3f6a6672785873a54129d6c7cd6f Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Mon, 7 Oct 2024 07:54:35 +0700 Subject: [PATCH] net host --- src/main/resources/com/rultor/agents/req/_head.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/com/rultor/agents/req/_head.sh b/src/main/resources/com/rultor/agents/req/_head.sh index f756666dee..d1b4b4a7ac 100644 --- a/src/main/resources/com/rultor/agents/req/_head.sh +++ b/src/main/resources/com/rultor/agents/req/_head.sh @@ -106,7 +106,7 @@ function docker_when_possible { ls -al . docker run -t --rm \ -v "$(pwd):/main" "${vars[@]}" \ - --hostname=docker --privileged \ + --hostname=docker --privileged --net=host \ --memory=8g --memory-swap=16g --oom-kill-disable \ "--cidfile=$(pwd)/cid" -w=/main \ -v /var/run/docker.sock:/var/run/docker.sock \