Restore from a server image that contain discourse, but rebuild error

Sorry for reviving old thread. I got the same problem:

fatal: unable to access ‘GitHub - discourse/pups: Simple yaml based bootstrapper for Linux machines · GitHub’: Could not resolve host: github.com
ed49e7f0cd62b126dbf62361bde91094df50435ead3813455b1a9bf2305a2604
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

As I am not a developer / coder, I only possess limited knowledge about FTP, SSH, Linux commands. I mostly setup the forum by myself and learn along the way.

However, today I change some SMTP info in app.yml then I rebuild and got this problem.
Can someone point me to a comprehensive guide to fix the problem with the docker?