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?

【Dockerエラー】docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker

Posted at

docker-compose up -d をした時にエラーが出た

1週間前くらいまでは問題なく動いていたdocker-composeが急に動かなくなった。

docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker

まず初めに確認すること

sudo systemctl status docker

Dockerが起動していることを確認。
起動していても動かないようなら、リスタートしてみる。

sudo systemctl restart docker

それでもダメなら

pip list | grep requests

requests のバージョンが 2.32.0 であれば、互換性の問題が起きている場合がある。

参考:https://forums.docker.com/t/error-while-fetching-server-api-version-not-supported-url-scheme-http-docker/141942/4

私の場合はバージョンを 2.31.0 にすることで解決。


これでも解決しない場合、docker-compose のバージョンアップを検討するといいかも?

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?