From 62e6164c670163d3e8c5d0cc2b9d223f3358b2bf Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Sat, 19 Feb 2022 13:07:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=BD=91=E7=BB=9C?= 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 ae0c4d3..409af6b 100644 --- a/deploy.sh +++ b/deploy.sh @@ -12,4 +12,4 @@ docker build -t $imageName:latest . echo "启动服务" for i in $(lsof -i:9993 -t);do kill -2 $i;done -docker run -d --name $imageName -p 3443:3443 -p 9993:9993 -p 9993:9993/udp -v /opt/$imageName:/var/lib/zerotier-one --restart unless-stopped $imageName:latest +docker run -d --network host --name $imageName -p 3443:3443 -p 9993:9993 -p 9993:9993/udp -v /opt/$imageName:/var/lib/zerotier-one --restart unless-stopped $imageName:latest