From 295a21cdf34fb496f86b1c88c7a8589419f38367 Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Fri, 14 Jun 2024 23:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0docker=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++++ deploy.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a267e9..d2c8dfc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/deploy.sh b/deploy.sh index e841a4a..22f28f7 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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