KAEDE Hack blog

JavaScript 中心に ライブラリなどの使い方を解説する技術ブログ。

Windows で Docker が failed to start

qiita.com

  • win では、hyper V に乗せて Docker を動かす必要があるらしい、やってみる

hub.docker.com

  • ここから Docker を install した

f:id:kei_s_lifehack:20201025140429p:plain

タスクバーにあるDockerのアイコンを右クリックし、「Settings」をクリックする。

f:id:kei_s_lifehack:20201025140821p:plain

なんか赤くね?なんか変な感じだ!

変な 感じって

タスクバーにあるDockerのアイコンを右クリックし、「Settings」をクリックする。

f:id:kei_s_lifehack:20201025140959p:plain

左下に「Docker running」と表示されていることを確認する。

f:id:kei_s_lifehack:20201025141053p:plain

  • failed to start してますね...

ググる

github.com

  • ググったら docker for win の issue にあった

Start Docker as administrator

  • やっても意味なかった

I'm having the same problem, since first restart after latest Win10 update. Windows 10 1809 build 17763.437

  • win のバージョンが古い?WSL でもこれあったな、確認してみる

f:id:kei_s_lifehack:20201025141644p:plain

  • update できなかった
  • version 2004 だった

Looks like Hyper-V components aren't all installed / running, hard to diagnose exactly which piece of Hyper-V is missing from the logs. Try https://docs.docker.com/machine/drivers/hyper-v/ https://docs.microsoft.com/en-gb/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v

If you figure out which piece was missing please let us know so we can improve the diagnostics and messaging around this.

  • hiperV が動いてない可能性があるらしい。
  • このログどこで見るんだ?

いったんここまで

power shell で確認

PS C:\Users\curio> docker --version
Docker version 19.03.13, build 4484c46d9d
PS C:\Users\curio>

あれ?入ってるみたいだね

 Experimental:      true
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/version: 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.

default damen not running?

qiita.com

tool box ? use?