'Why does Docker Desktop uninstall hang?
Solution 1:[1]
- Win + R
- services.msc
- Stop Docker Desktop Service
- Uninstall Docker
See: https://github.com/docker/for-win/issues/7489#issuecomment-757835075
Solution 2:[2]
Delete the contents of C:\Program Files\Docker and download a fresh Docker installer
Solution 3:[3]
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.
Solution 4:[4]
Try to restart your PC. Then try to uninstall again.
Solution 5:[5]
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.
Solution 6:[6]
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
Solution 7:[7]
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.
Solution 8:[8]
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
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 | Dennis |
Solution 2 | Thapelo Masethe |
Solution 3 | Manoj Kumar |
Solution 4 | Lu55 |
Solution 5 | Andrea |
Solution 6 | Victor Langat |
Solution 7 | Martin Zeitler |
Solution 8 | DannyEss |