./discourse-setup: could not resolve host: github.com

I am having the same issue with a default digital ocean droplet based on ubuntu 20.04. Did you find a solution yet?

seems to work now, see After upgrade, docker cannot communicate with the outside world - #24 by niels-anders