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
5 Answers
From
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.
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.
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.
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.
Also had this issue on Mac (Intel chip) after updating to v4.5.0.
Reinstalling and a system restart solved the issue.