Docker - 我试图从Docker站点运行hello-world示例,但是localhost:4000没有呈现任何内容

时间:2017-11-01 17:50:40

标签: docker

我指的是位于此处的示例:https://docs.docker.com/get-started/part2/#build-the-app

我尝试运行应用程序按预期工作:

docker_test docker run -p 4000:80 friendlyhello * Running on http://0.0.0.0:80/ (Press CTRL+C to quit)

但是,当我导航到localhost:4000时,页面无法加载。相反,我在Chrome中看到一条消息“无法访问此网站。”

你知道我可能做错了吗?

0 个答案:

没有答案