15
8

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 3 years have passed since last update.

Dockerが「error during connect: Get http://%2F%2F.~~」エラーを出したときの対処法。

Posted at

事象

Dockerを触ろうとコマンドを打ったら下記のようなエラーが...

C:\Work>docker ps -a
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/json?all=1: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

昨日まで普通に動いていたんだけどな...と思いエラーメッセージを読んでみるとどうやらdocker daemonが起動していないっぽい??

対処法

ということで確認のためにDocker Desktopを立ち上げます。
1.png

するとこんなダイアログが。
やはりサービスが起動していなかったんですね(;´∀`)
2.png

「Start」をクリック。
3.png
4.png

Dockerが起動し、動いているメッセージが届いたので再度Dockerのコマンドを打ってみます。

C:\Work>docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

動いていることが確認できました!

15
8
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
15
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?