0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

docker-compose up時にUnixHTTPConnectionPool(host='localhost', port=None): Read timed out.エラーが発生

Posted at

docker-compose up -dでアプリケーションを起動しようとすると以下のエラーが発生。

Starting date_course_db_1 ... 
Starting date_course_frontend_1 ... 

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

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

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

ERROR: for db  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.

調べてみるとDockerforMacが原因で起こるエラーみたいです。

スクリーンショット 2022-02-17 10.16.57.png

なのでDockerのDawhboardを再起動しました。

Starting date_course_db_1       ... done
Starting date_course_frontend_1 ... done
Creating date_course_backend_1  ... done

無事に起動することができました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?