Why does Docker Desktop uninstall hang?

Viewed 8837

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

Gui of docker desktop state

8 Answers

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.

Delete the contents of C:\Program Files\Docker and download a fresh Docker installer

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.

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

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.

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

Related