增加docker加速地址

This commit is contained in:
xubiaolin 2024-06-14 23:56:54 +08:00
parent 1aee780288
commit 295a21cdf3
2 changed files with 7 additions and 1 deletions

View File

@ -108,6 +108,12 @@ yum update && yum install git -y
curl -fsSL https://get.docker.com |bash
```
如果网络问题,导致无法安装,可以使用国内镜像安装:
```
curl -fsSL get.docker.com -o get-docker.sh
sudo sh get-docker.sh --mirror Aliyun
```
### 3.1.3 启动docker
```bash
service docker start

View File

@ -5,7 +5,7 @@ ZEROTIER_PATH="$(pwd)/data/zerotier"
CONFIG_PATH="${ZEROTIER_PATH}/config"
DIST_PATH="${ZEROTIER_PATH}/dist"
ZTNCUI_PATH="${ZEROTIER_PATH}/ztncui"
DOCKER_IMAGE="xubiaolin/zerotier-planet:latest"
DOCKER_IMAGE="docker.mirrors.imoyuapp.win/xubiaolin/zerotier-planet:latest"
print_message() {
local message=$1