From 3dd5407301464e447cf9f39516de1d7408cd2152 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 1 Apr 2025 22:25:34 +0200 Subject: [PATCH] mastercontainer: improve check for ghcr.io Signed-off-by: Simon L. --- Containers/mastercontainer/start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containers/mastercontainer/start.sh b/Containers/mastercontainer/start.sh index dff289d3..0c815464 100644 --- a/Containers/mastercontainer/start.sh +++ b/Containers/mastercontainer/start.sh @@ -285,10 +285,11 @@ fi # Check if ghcr.io is reachable # Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268 -if ! curl https://ghcr.io &>/dev/null; then +if ! curl --no-progress-meter https://ghcr.io/v2/ >/dev/null; then print_red "Could not reach https://ghcr.io." echo "Most likely is something blocking access to it." - echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install" + echo "You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html" + echo "Another solution is using https://github.com/nextcloud/all-in-one/tree/main/manual-install" exit 1 fi