问答详情
源自:3-2 dockerfile实战

docker run -d -p 80:80 xbf/hello-nginx 命令报错

运行docker run -d -p 80:80 xbf/hello-nginx后报如下错误:

docker: Error response from daemon: driver failed programming external connectivity on endpoint confident_brown (4298f7b84f9f9ad5763453b7fe996e104a137f953e85ef29bc6e384966ed887f): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE).


提问者:Climber4 2019-01-19 22:39

个回答

  • 慕前端8216191
    2019-01-20 16:58:25

    是不是你宿主机的80端口已经被占用了?