|
@@ -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
|