# Failed to Bootstrap Ping is working to github

**URL:** <https://meta.discourse.org/t/failed-to-bootstrap-ping-is-working-to-github/23869>\
**Category:** Self-hosting\
**Created:** [January 10, 2015, 11:53pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-ping-is-working-to-github/23869 "2015-01-10T23:53:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Stefan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefan/32/104823_2.png) [@Stefan](https://meta.discourse.org/u/Stefan)\
**Post date:** [January 11, 2015, 1:10pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-ping-is-working-to-github/23869/6 "2015-01-11T13:10:21Z")

</div>

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/failed-to-bootstrap-ping-is-working-to-github/23869)._
