Docker端口没有映射到Docker的教程

时间:2017-07-12 19:05:46

标签: docker networking port dockerfile

我正在研究Docker's website上的教程,并且无法像所描述的那样让端口映射。

我使用<div class="container"> <div class="row"> <div class ='col-sm-12'> <p class="panel-body">Instagram is a mobile,desktop,and r 2010 as a free mobile app exclusively for the iOS operating system. A version for os or videos digital filters to their images, and add locations Instagram was its confining of photos to a square. </p> </div> </div> </div> 暴露我的Dockerfile中的端口并运行EXPOSE 80来启动应用程序。代码直接从教程中复制,但为了完整起见,烧瓶服务器以:

开头
docker run -p 4000:80 containername

当我在浏览器中访问localhost:4000或卷曲它时,我发现该网站无法访问。

0 个答案:

没有答案