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 \