Made an account to send my appreciation–this was an infuriating issue
thanks man! I think that this issue is caused when you uninstall from CLI instead of the Windows uninstall page. saved my day!
I can not thank you enough! Incredible! Saved me from so much searching and pain!!
Thank you so much! You saved me
Hey everyone, I ran into the same issue, and none of the solutions did it for me individually.
But when I did all of them at the same time (running installer/uninstaller adds some registries so finish the checklist reboot then run the installer) and reboot, it finally worked. So below is the checklist I followed:
- Stop Docker Processes & Services
- Open Task Manager and end any processes like:
- Docker Desktop.exe
- com.docker.backend.exe
- Open Services (run
services.msc
) and stop:- Docker Desktop Service
- Docker Engine
- If services won’t stop, open Command Prompt as admin and run:
cpp
CopyEdit
sc delete com.docker.service
sc delete docker
- Delete Docker Registry Entries Open Registry Editor (
regedit
) and manually delete these keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop
HKEY_LOCAL_MACHINE\SOFTWARE\Docker Inc.
HKEY_CURRENT_USER\Software\Docker Inc.
- Optional:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\docker.exe
- Delete Leftover Files and Folders
Delete the following folders if they exist:
C:\Program Files\Docker\
C:\ProgramData\Docker\
C:\ProgramData\DockerDesktop\
%LOCALAPPDATA%\Docker\
%APPDATA%\Docker\
%APPDATA%\Docker Desktop\
%USERPROFILE%\.docker\
- Unregister Docker’s WSL distros (if using WSL2)
Open PowerShell as admin and run:
css
CopyEdit
wsl --unregister docker-desktop
wsl --unregister docker-desktop-data
- Reboot Your Computer