# Discourse docker container has trouble reaching DNS

**URL:** <https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439>\
**Category:** Self-hosting\
**Created:** [April 30, 2018, 7:06am UTC](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439 "2018-04-30T07:06:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [April 30, 2018, 7:31am UTC](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439/6 "2018-04-30T07:31:10Z")

</div>

You can configure docker flags that set the DNS resolver for the docker service and restart the service. It should be using your system DNS but who knows maybe something is a bit broken with the docker install.

I suspect though this is the entire network being done vs just DNS, are you sure you can ping places?

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-container-has-trouble-reaching-dns/86439)._
