diff --git a/install.sh b/install.sh index f0860eb..e830205 100755 --- a/install.sh +++ b/install.sh @@ -135,7 +135,7 @@ fi _DAEMON_CFG="/etc/docker/daemon.json" if ! curl -fsS --max-time 5 https://registry-1.docker.io/v2/ >/dev/null 2>&1; then info "Docker Hub 不可达,尝试配置国内镜像加速..." - _MIRRORS='{"registry-mirrors":["https://docker.mirrors.ustc.edu.cn","https://hub-mirror.c.163.com","https://mirror.baidubce.com"]}' + _MIRRORS='{"registry-mirrors":["https://docker.1ms.run","https://docker.mirrors.ustc.edu.cn","https://hub-mirror.c.163.com"]}' _configured=0 if [ "$(id -u)" -eq 0 ]; then printf '%s\n' "$_MIRRORS" > "$_DAEMON_CFG" && _configured=1