From c4b07b072cfbcfa5236479c1693d23a998b7de6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 24 Jul 2022 12:17:43 +0200 Subject: [PATCH] dockerfiles: recommend using --network="host" --- docker/aquatic_udp.Dockerfile | 2 ++ docker/aquatic_ws.Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/aquatic_udp.Dockerfile b/docker/aquatic_udp.Dockerfile index d88d098..0e0bb00 100644 --- a/docker/aquatic_udp.Dockerfile +++ b/docker/aquatic_udp.Dockerfile @@ -10,6 +10,8 @@ # Run from repository root directory with: # $ docker build -t aquatic-udp -f docker/aquatic_udp.Dockerfile . # $ docker run -it -p 0.0.0.0:3000:3000/udp --name aquatic-udp aquatic-udp +# +# Pass --network="host" to run command for much better performance. FROM rust:latest AS builder diff --git a/docker/aquatic_ws.Dockerfile b/docker/aquatic_ws.Dockerfile index 711511f..6ab8b85 100644 --- a/docker/aquatic_ws.Dockerfile +++ b/docker/aquatic_ws.Dockerfile @@ -17,6 +17,8 @@ # Run from root directory of aquatic repository with: # $ docker build -t aquatic-ws -f docker/aquatic_ws.Dockerfile . # $ docker run -it --ulimit memlock=65536:65536 -p 0.0.0.0:3000:3000 --name aquatic-ws aquatic-ws +# +# Pass --network="host" to run command for much better performance. FROM rust:latest AS builder