[Docker for Windows] The Docker app suddenly stopped working ...

Today, when I tried to start Docker normally, Docker did not start with Docker is starting ... for some reason. It was a sudden event, so I was impatient. After all Docker for Windows is still a little unstable, I want to buy a Mac soon, w

~~ By the way, Docker for Windows can only be used on Windows 10 Pro, so this article is for those who are developing on Windows 10 Pro. ~~ There was a comment pointed out by @userisgod. It seems that Docker for Window will also support Window10 Home when WSL2 is supported. Reference article

solution

Uninstall the Docker app and reinstall it. I was cured by this.

**※Note If you have important data in the container, all of it will be erased (naturally), so be sure to keep backup data. ** **

Other solutions ①

In addition to ↑, uninstall Hyper-V and reinstall it.

Docker for Windows runs on Hyper-V, a server virtualization technology from Microsoft. Use the native function of the OS. Since this Hyper-V is only available in Window10 Pro, it cannot be used in HOME editions.

Other solutions ②

Unchecked the control flow guard in Hyper-V.

【Method】

  1. Enter Windows Security from the search window to launch the app.
  2. App and browser controls
  3. Exploit protection settings (well down)
  4. Program settings tab 5.C: \ WINDOWS \ System32 \ vmcompute.exe> Edit
  5. Uncheck "Override System" in the Control Flow Guard (CFG) settings and click the Apply button.

Thank you for reading to the end!

The above is something you can feel free to do, so please give it a try. If this does not solve the problem, please refer to "Force start with command" in this article!

Recommended Posts

[Docker for Windows] The Docker app suddenly stopped working ...
[Note] I suddenly can't build with Docker for windows.
Suddenly tomcat run stopped working
[rails] The case where the server stopped working
Change the default timezone for the rails app
Introducing Docker Desktop for Windows on WSL2
Run Redmine in the local environment of Windows10 Pro-Use Docker Desktop for Windows
Time shift measures with Docker for Windows
Docker Desktop for Windows 2.4.0.0 (48506) Startup error after update
I tried using Docker for the first time
Tips for using the Spotify app on Ubuntu
Docker x Laravel Insanely slow Docker for Windows explodes
I tried touching Docker for the first time
Operate Docker Desktop for Windows on Linux (WSL)
[Rails] After introducing (intentionally) devise, the command stopped working
I tried using Docker Desktop for Windows on Windows 10 Home
Command to try using Docker for the time being