Browse Source

更新 'init-per.sh'

胡增文 5 months ago
parent
commit
fc352a1035
1 changed files with 1 additions and 1 deletions
  1. 1 1
      init-per.sh

+ 1 - 1
init-per.sh

@@ -38,7 +38,7 @@ if [ -d "$DIR" ]; then
   sudo rm -rf "$DIR"
 fi
 sudo mkdir "$DIR"
-sudo docker run -d --restart always --name one --device /dev/net/tun --net host --cap-add NET_ADMIN --cap-add SYS_ADMIN -v /opt/zerotier-one:/var/lib/zerotier-one henrist/zerotier-one
+sudo docker run -d --restart always --name one --device /dev/net/tun --net host --cap-add NET_ADMIN --cap-add SYS_ADMIN -v /opt/zerotier-one:/var/lib/zerotier-one registry.cn-chengdu.aliyuncs.com/jaikuai/zerotier-one:1.12
 sleep 3
 sudo rm -f /opt/zerotier-one/planet && sudo wget http://git.fast-fun.cn:92/ruili-station/readme/raw/master/planet -P /opt/zerotier-one
 sudo docker restart one