Merge pull request #2135 from nextcloud/enh/noid/improve-dns-hint

improve hint about dns resolving
This commit is contained in:
Simon L 2023-03-15 14:26:46 +01:00 committed by GitHub
commit 01a670e503
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,8 @@ curl https://nextcloud.com &>/dev/null
if [ "$?" = 6 ]; then if [ "$?" = 6 ]; then
echo "Could not resolve the host nextcloud.com." echo "Could not resolve the host nextcloud.com."
echo "Most likely the DNS resolving does not work." echo "Most likely the DNS resolving does not work."
echo "You should be able to fix this by adding the '--dns=\"ip.address.of.dns.server\"' option to the docker run command." echo "You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html"
echo "Apart from that, there has been this: https://github.com/nextcloud/all-in-one/discussions/2065"
exit 1 exit 1
fi fi