Skip to content

Commit

Permalink
net host
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 7, 2024
1 parent 33f61b5 commit f4c482c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/com/rultor/agents/req/_head.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f4c482c

Please sign in to comment.