./discourse-setup it continues to fail with the error:
cd /pups && git pull && /pups/bin/pups --stdin fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com fe7a66f6321f948dd840124da1f0165db18807367b4419e1cc9906eb7f71a0a8 ** FAILED TO BOOTSTRAP **
I have tried like at least 3 different solutions to this problem that I could find from this forum and around GitHub, including some Docker stack overflow answers for “lack of internet” and “DNS problems” within docker.
I have tried following like at least 2 different tutorials I could find for setting the Discourse forum software up, the official one and some other one.
Things like setting up a
daemon.json file with DNS’ configured. Setting the docker0 interface into promiscuous mode.
After all that I still get the same problem.
I am using an Ubuntu 20.04 server hosted by OVH.
I am able to ping github.com and get a response on the host, just not within the Docker setup.
Anyone able to help?
Edit: after hacking together a manual entry in the
/etc/hosts file of the container environment for github’s IP address, it now says “connection timed out” instead of “unable to resolve github.com”.