Hello,
I’m trying to install nextcloud AIO on my home server thats on debian, i tried the first step, running
sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest
however it gave me the error Could not resolve the host nextcloud.com.
, but I can ping nextcloud.com just fine on ssh.
I have tried the following to resolve the issue, but the same error still happens:
-
adding the
--dns=1.1.1.1
(also tried 8.8.8.8, but same thing) flag to the initialdocker run
command. -
made the file
/etc/docker/daemon.json
with the content being{ "dns" : ["8.8.8.8", "8.8.4.4" ] }
. -
I’ve tried multiple times by completely resetting the AIO instance as per the guide in the github page, I have even tried reinstalling Debian, and even tried to install this on Ubuntu, but the same error pops up
Thanks in advance.