From 85dab10819947aa0de6ad459073a729056c1ae21 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 21 Oct 2024 11:05:34 +0800 Subject: [PATCH] websoft9 --- install/install.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/install/install.sh b/install/install.sh index dd2fbade..f4538661 100644 --- a/install/install.sh +++ b/install/install.sh @@ -51,7 +51,7 @@ version="latest" channel="release" path="/data/websoft9/source" apps="" -mirrors="https://docker.rainbond.cc,https://registry.inner.websoft9.cn" +mirrors="https://dockerhub.websoft9.com" # 获取参数值 while [[ $# -gt 0 ]]; do @@ -474,12 +474,6 @@ install_backends() { exit 1 fi - if jq -e '.["registry-mirrors"]' "$DOCKER_CONFIG_FILE" > /dev/null; then - jq 'del(.["registry-mirrors"])' "$DOCKER_CONFIG_FILE" > "${DOCKER_CONFIG_FILE}.tmp" && sudo mv "${DOCKER_CONFIG_FILE}.tmp" "$DOCKER_CONFIG_FILE" - sudo systemctl daemon-reload - sudo systemctl restart docker - fi - if [ "$execute_mode" = "install" ]; then sudo docker exec -i websoft9-apphub apphub setconfig --section domain --key wildcard_domain --value "" if [ -n "$apps" ]; then