解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01

解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01

码农世界 2024-05-30 后端 91 次浏览 0个评论

问题:启动容器的时候报这个错误   Error response from daemon: driver failed programming external connectivity on endpoint nginx01 (522f7911bc29a70543768b995200d8e217fd65561632fabf55b29086b46acfba): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use

解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01

意思就是80端口被占用了

解决方法:

查看当前占用端口命令

netstat -tanlp

解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01

杀死进程

kill 983

然后重新启动就完成了

docker start nginx01

解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01

转载请注明来自码农世界,本文标题:《解决Error response from daemon: driver failed programming external connectivity on endpoint nginx01》

百度分享代码,如果开启HTTPS请参考李洋个人博客
每一天,每一秒,你所做的决定都会改变你的人生!

发表评论

快捷回复:

评论列表 (暂无评论,91人围观)参与讨论

还没有评论,来说两句吧...

Top