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

**URL:** <https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299>\
**Category:** Product Support\
**Created:** [December 4, 2020, 11:48pm UTC](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299 "2020-12-04T23:48:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![minipunch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/minipunch/32/202088_2.png) [@minipunch](https://meta.discourse.org/u/minipunch)\
**Post date:** [December 5, 2020, 4:14am UTC](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299/4 "2020-12-05T04:14:44Z")

</div>

> [@pfaffman](#):
>
> How’d you install docker?

I think the first time I ran `/discourse-setup` it installed Docker for me.

And 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](http://github.com)”.

So it seems like it might be an internet connection problem in general and not just a DNS thing. I even tried running it with the `--network host` option and it still didn’t work even though it does work on my host.

If I run a simple test Docker container, I am able to reach the internet from it. It just seems like the Discourse container is not connecting out.

---

_[View the full topic](https://meta.discourse.org/t/discourse-setup-could-not-resolve-host-github-com/172299)._
