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