# 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:** Product Support\
**Tags:** docker\
**Created:** [13 augustus 2015 om 05:04 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:** 8

<div class="post-metadata">

**Author:** ![rcauvin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rcauvin/32/118210_2.png) [@rcauvin](https://meta.discourse.org/u/rcauvin)\
**Post date:** [28 mei 2020 om 01:14 UTC](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050/8 "2020-05-28T01:14:22Z")

</div>

I am getting the same error as [gekkonen](https://meta.discourse.org/u/gekkonen) after having attempted to upgrade to the latest Discourse version.

It appears Docker can no longer access the Internet at all from the default bridge network:

```
docker run -it --net=bridge --rm busybox ping -c 1 github.com
ping: bad address 'github.com'

```

If I force it to use the host network, it can access the Internet:

```
docker run -it --net=host --rm busybox ping -c 1 github.com
PING github.com (140.82.112.4): 56 data bytes
64 bytes from 140.82.112.4: seq=0 ttl=53 time=6.902 ms

--- github.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 6.902/6.902/6.902 ms

```

I am also running Ubuntu 18.04.4 LTS, having upgraded all packages and installed all security upgrades just prior to following the Discourse upgrade sequence.

---

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