在 VMware 中引导 discourse 时遇到问题

大家好,

我想在 VMware 的 Ubuntu 21.04 虚拟机中本地安装 Discourse,但遇到了以下错误:

./launcher bootstrap app
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
fatal: unable to access ‘GitHub - discourse/pups: Simple yaml based bootstrapper for Linux machines · GitHub’: Could not resolve host: github.com
e0146dd79cd1704e68b8c6aab0168f269af67c8eac4880a7c2ed4276e78031f2
** 引导失败 ** 请向上滚动并查找更早的错误消息,可能不止一条。
./discourse-doctor 可能有助于诊断问题。

不过,当我尝试在 /tmp 中克隆时,它却可以正常工作:

/tmp# git clone GitHub - discourse/pups: Simple yaml based bootstrapper for Linux machines · GitHub
Cloning into ‘pups’…
remote: Enumerating objects: 477, done.
remote: Counting objects: 100% (136/136), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 477 (delta 60), reused 94 (delta 33), pack-reused 341
Receiving objects: 100% (477/477), 83.41 KiB | 1.63 MiB/s, done.
Resolving deltas: 100% (233/233), done.

nslookup 也能正常工作(真令人惊讶 :-)):

nslookup github.com
Server: 127.0.0.53
Address: 127.0.0.53#53

Non-authoritative answer:
Name: github.com
Address: 140.82.121.4

有什么建议吗?

非常感谢大家!

看起来您的 Docker 安装遇到了 DNS 问题。

嗯,在云实例上它运行得完美无缺……我在这里关闭它