LoginSignup
1
0

More than 1 year has passed since last update.

Dockerの起動時にUnixHTTPConnectionPoolエラーが発生する

Posted at

Macでdocker-composeを使っています。
コンテナ起動時に下記エラーが発生し、コンテナが起動できなくなりました。
次回また発生した時のため備忘録として書いておきます。

操作

$ docker-compose up

エラーの内容

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

ERROR: for phpmyadmin  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: for web  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

解決方法

  • MacのDocker Desktopを再起動する
  1. Docker DesktopのGUIを表示させて、右上の虫マークをクリック
  2. Restart Docker Desktopの右にある「Restart」ボタンをクリック
    Image from Gyazo
  3. 再起動後にdocker-compose up をするとエラーは解消している(はず)
1
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
1
0