Skip to content

Commit 9cef42a

Browse files
committed
feat: use host network for docker
Use host network for docker. This prevents issues when network access inside the container is different from the host access. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
1 parent fc9db04 commit 9cef42a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/devtool

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ run_devctr() {
305305
--rm \
306306
--volume /dev:/dev \
307307
--volume "$FC_ROOT_DIR:$CTR_FC_ROOT_DIR:z" \
308+
--network="host" \
308309
--tmpfs /srv:exec,dev,size=32G \
309310
-v /boot:/boot \
310311
--env PYTHONDONTWRITEBYTECODE=1 \

0 commit comments

Comments
 (0)