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

我在最新的 Discourse Git 版本上也遇到了类似的问题。这个问题是在通过 Web UI 执行系统更新和/或 Discourse 更新后开始的。现在当我尝试重建应用时,出现以下错误:

[root@forum /var/discourse]# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': Could not resolve host: github.com
8f082ebcb977f9efafbdbff15ab69e8d06c0a7e2cb99410f85e1f90b03ae733b
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

我可以 ping 通 github.com 和 8.8.8.8,并且我尝试编辑 /etc/default/docker 文件以切换 DNS 选项:DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

我应该继续从哪里排查这个问题?

我的系统是 Ubuntu 18.04,并已应用了所有最新更新。