I'm trying to uninstall Docker Desktop (it doesn't launch) so that i can reinstall it again, I have tried updating it , It keeps telling me that i have the latest Docker Desktop
- Win + R
- services.msc
- Stop Docker Desktop Service
- Uninstall Docker
See: https://github.com/docker/for-win/issues/7489#issuecomment-757835075
I Found the solution, and of course it involves the Windows Registry.
There was a key in Windows Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall called “Docker Desktop.”
I deleted it and all of its sub-keys and the Docker installation then went to completion.
- Win + R
- services.msc
- Stop Docker Desktop Service
- Uninstall Docker
See: https://github.com/docker/for-win/issues/7489#issuecomment-757835075
Delete the contents of C:\Program Files\Docker and download a fresh Docker installer
Before you uninstall ensure you stop Docker Desktop Service on windows Service manager. The steps are as follows:
- Hit the Windows Key then type
Services
- Select
Run as administrator
- Look for Docker Desktop Service -> Right click -> Stop
- Proceed with normal uninstall of the Docker Desktop from the programs and features list.
Happy Uninstall
Open cmd prompt and run this command:
"C:\Program Files\Docker\Docker\Docker Desktop Installer.exe" uninstall
Closed the window, downloaded a new version from the official website, then installed again. When asked if I wanted to replace the old version with the new one, I answered "Yes" and everything went fine.
Unregistering the docker-desktop wsl disto/image worked for me.
Try listing out all the existing wsl distros using:
wsl --list --all --verbose
You might find something like below:
NAME STATE VERSION
* Ubuntu Stopped 1
docker-desktop-data Stopped 2
docker-desktop Uninstalling 2
Try to unregister the docker-desktop Distro using
wsl --unregister docker-desktop
Then try to open/uninstall Docker Desktop and it should work.
Listing out the wsl distro's will result in something like below:
NAME STATE VERSION
* Ubuntu Stopped 1
docker-desktop-data Running 2
docker-desktop Running 2
The uninstaller requires Hyper-V to be installed, when having used that.
One has to uninstall Docker Desktop first and then can uninstall Hyper-V.
None of these solved it for me. Turns out it can fail to uninstall if you use a RAMDisk for your temp folder.
Apparently the same issue affects updates too.
Features -> UnCheck -> Hyper V - Reset -> UnInstall docker.
It worked for me.
Try to restart your PC. Then try to uninstall again.
I had the same problem on my working laptop and I had to manually delete all the regestry keys (win + r, then type in regedit) and the whole folder in C:\Program Files. After that I had no issues and Docker Desktop completely disappeared in Apps
C:\Program Files
is a little too much ? Why don't find the exact folder that is not fine instead of breaking lot of program for docker fix ? Another answer talk about C:\Program Files\Docker
and a second one talk about regedit too, so it's seems to be a duplicate ? –
Ethiopian © 2022 - 2025 — McMap. All rights reserved.