Failed to Bootstrap Ping is working to github

Today I experienced this same exact problem in a fresh discourse docker install.

Solved this problem by the same solution posted by @Stefan above (thanks!):

Edit:

/etc/default/docker

Uncomment the following line:

#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

Will look like this:

DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

Then:

systemctl restart docker

Then, the launcher bootstrap and rebuild commands will not hang and fail on the DNS issue.

Strange that I have installed docker on a number of Ubuntu distros using apt, but this install was the only one to have this issue.

# lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic