使用 Docker 安装 Discourse 进行开发时失败

我失败了……
使用 Docker 安装 Discourse 进行开发

  • 克隆 Discourse
git clone https://github.com/discourse/discourse.git ~/discourse
  • 启动开发环境
cd discourse
./bin/docker/boot_dev --init
./bin/docker/unicorn

在浏览器中打开 http://localhost:9777,但我应该看不到 Discourse。
为什么??

(由于端口冲突,端口已更改为 9777。)

详细信息:

y@y-VirtualBox:~/discourse$ sudo ./bin/docker/unicorn -x
Running without sidekiq
I, [2019-07-22T17:51:53.863457 #795]  INFO -- : Refreshing Gem list
WARNING: It looks like your discourse plugins have recently changed.
It is highly recommended to remove your `tmp` directory, otherwise
plugins might not work.

Starting CSS change watcher
I, [2019-07-22T17:51:57.024178 #795]  INFO -- : listening on addr=0.0.0.0:9777 fd=13
I, [2019-07-22T17:52:02.327322 #795]  INFO -- : master process ready
I, [2019-07-22T17:52:05.364922 #884]  INFO -- : worker=0 ready
I, [2019-07-22T17:52:05.397963 #894]  INFO -- : worker=1 ready
I, [2019-07-22T17:52:06.423513 #904]  INFO -- : worker=2 ready
.............

它正在运行吗?

我看也是。你检查过开发机器上的 9777 端口是否被关闭了吗?

停止 discourse_dev 的 docker 容器?

我不知道
请解释一下

请确认9777端口是否正确打开。

netstat -nl | grep 9777

运行该命令,查看是否有相关输出。

最初,崩溃发生在 9292,后来被改为 9777。