From cb53372269f77af6abbd5ce1706113d45a1ee863 Mon Sep 17 00:00:00 2001 From: Happy_Shrimp Date: Thu, 8 Aug 2024 02:27:25 -0400 Subject: [PATCH] Added '--network=host' to build commands for smp-server and xftp-server to fix issue with no network available. See issue logged here: https://github.com/simplex-chat/simplexmq/issues/1253 Fixed a typo from '# For xmp-server' to '# For smp-server' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2eea480f..17e48ea1c 100644 --- a/README.md +++ b/README.md @@ -167,8 +167,8 @@ On Linux, you can build smp server using Docker. git clone https://github.com/simplex-chat/simplexmq cd simplexmq git checkout stable - DOCKER_BUILDKIT=1 docker build -t local/smp-server --build-arg APP="smp-server" --build-arg APP_PORT="5223" . # For xmp-server - DOCKER_BUILDKIT=1 docker build -t local/xftp-server --build-arg APP="xftp-server" --build-arg APP_PORT="443" . # For xftp-server + DOCKER_BUILDKIT=1 docker build --network=host -t local/smp-server --build-arg APP="smp-server" --build-arg APP_PORT="5223" . # For smp-server + DOCKER_BUILDKIT=1 docker build --network=host -t local/xftp-server --build-arg APP="xftp-server" --build-arg APP_PORT="443" . # For xftp-server ``` 2. Create directories for persistent Docker configuration: