'"Docker Desktop stopped..." message after installation [closed]

Installed docker desktop for windows, after having installed the linux kernel update package and changing to wsl 2 version (virtualization is enabled) but i get the message "Docker Desktop stopped..." as shown below.

Tried:

  • uninstalling and reinstalling again
  • run application as administrator

enter image description here



Solution 1:[1]

From https://github.com/docker/for-win/issues/12545#issuecomment-1037225140

Just go to the config file at C:\Users\<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true

I had to restart after saving.

Solution 2:[2]

I had the same problem. If you are using docker 4.5.0, try uninstall and install 4.4.4 instead. That worked for me.

Solution 3:[3]

A new version of Docker Desktop (4.5.1), released on 2022-02-15 fixes this problem.

If you are running Docker Desktop on Windows Home, installing 4.5.1 will switch it back to WSL 2 automatically. If you are running another version of Windows, and you want Docker Desktop to use the WSL 2 backend, you must manually switch by enabling the Use the WSL 2 based engine option in the Settings > General section. Alternatively, you can edit the Docker Desktop settings file located at %APPDATA%\Docker\settings.json and manually switch the value of the wslEngineEnabled field to true.

Solution 4:[4]

I also get the same problem after updating my Docker version from 4.4.4 to 4.5. It was crashed when I want to run my container today. I try to reinstall with 4.5 version and get the error "Docker Desktop stopped...". Then, I try to reinstall with 4.4.4 version, and now it just run perfectly fine like before.

Solution 5:[5]

Also had this issue on Mac (Intel chip) after updating to v4.5.0.

Reinstalling and a system restart solved the issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daniel Parrott
Solution 2 Drachbar
Solution 3 Charles-edouard POISNEL
Solution 4 muhduzairmf
Solution 5 elliotls