From 89dce5c20b2325859d7e518a786f81f800ec5a51 Mon Sep 17 00:00:00 2001 From: seedgou Date: Wed, 20 Apr 2022 16:29:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93=E4=BD=BF=E7=94=A8=20network=20host=20?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=97=A0=E9=9C=80=E7=AB=AF=E5=8F=A3=E6=98=A0?= =?UTF-8?q?=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 0026c93..bcbb7bd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -14,5 +14,5 @@ docker build --network host -t $imageName . echo "启动服务" for i in $(lsof -i:9993 -t);do kill -2 $i;done -docker run -d --network host --name $imageName -p 3443:3443 -p 9993:9993 -p 9993:9993/udp --restart unless-stopped $imageName +docker run -d --network host --name $imageName --restart unless-stopped $imageName docker cp zerotier-planet:/app/bin/planet /opt/planet