docker nginx 启动失败,报错 listen tcp 0.0.0.0:80: bind: address already in use
详细错误如下:Starting new_nginx_1 ... Starting new_nginx_1 ... errorERROR: for new_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint new_nginx_1 (ec53e5b0...
详细错误如下:
Starting new_nginx_1 ...
Starting new_nginx_1 ... error
ERROR: for new_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint new_nginx_1 (ec53e5b0f4bStarting new_cas_1 ... done
Starting new_account-manager_1 ... done
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint new_nginx_1 (ec53e5b0f4b03674cc7a8fa8c6bef5fdc71cca295d02f25b78d34a5298d3d84c): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project.
原因:
开机时 apache2 自动启动,占用了80端口。
解决方法:
service apache2 stop
更多推荐
所有评论(0)