# Could not resolve host: github.com for SamSaffron/pups.git

**URL:** https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050
**Category:** Support
**Tags:** docker
**Created:** [August 13, 2015, 5:04am UTC](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050 "2015-08-13T05:04:26Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [August 13, 2015, 7:14am UTC](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050/2 "2015-08-13T07:14:48Z")

</div>

This is very likely the solution

> [@Failed to Bootstrap Ping is working to github](https://meta.discourse.org/t/failed-to-bootstrap-ping-is-working-to-github/23869/6):
>
> Edit /etc/default/docker and uncomment the following line: DOCKER\_OPTS="--dns 8.8.8.8 --dns 8.8.4.4" After this, restart docker and rebuild. I had the same issue today. The solution is taken from [https://meta.discourse.org/t/afatal-unable-to-access-https-github-com-samsaffron-pups-git-could-not-resolve-host-github-com/18611/7?u=stefan](https://meta.discourse.org/t/afatal-unable-to-access-https-github-com-samsaffron-pups-git-could-not-resolve-host-github-com/18611/7)

---

_[View the full topic](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050)._
