Docker Desktop Failed to Initialize

After upgrading Docker from 3.x to 4.x, the latest being 4.1.x, Docker began acting up and refusing to start.

Ran Windows Terminal as an Administrator and deleted the following directories:

%USERPROFILE%\AppData\Local\Docker
%USERPROFILE%\AppData\Roaming\Docker
%USERPROFILE%\AppData\Roaming\Docker Desktop

Immediately after deleting the last directory, Docker Desktop successfully started automatically by itself!

If your Docker Desktop is still not running, you might try to run the following WSL commands:

wsl --unregister docker-desktop
wsl --unregister docker-desktop-data

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Callback Insanity

Organic, fair-sourced DevOps and Full-Stack things. This is a BYOB Establishment — Bring Your Own hipster Beard.