首页 » Linux » 正文

docker compose遇到的问题UnixHTTPConnectionPool(host=’localhost’, port=None): Read timed out. (read timeout=60)

2021-2-2 ·  8,507 views  ·  0 replies 

启动docker项目的时候,遇到这个问题,具体什么原因还不清楚,最后通过重启docker服务解决

 ✘ apple@bogon  ~/docker-code/lnmp-demo   master  ./bin/compose up -d
website_mysql_1 is up-to-date
website_redis_1 is up-to-date
Starting website_phpfpm_1 ...

ERROR: for website_phpfpm_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for phpfpm  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
«上一篇: :下一篇»
  1. 还没有任何评论,你来说两句吧

Leave a reply