I had the same issue, tried to get assistance from docker support and did lota google but nothing worked.
I had a gut feeling that the issue was not within the Docker Desktop as i have tried all the options including deleting docker appdata etc. sov, i started investigating WSL and noticed the distros docker-desktop-data, docker-desktop was in stopped & uninstalling state. These states never changed and appears even after uninstalling Docker desktop and windows reboot.
PowerShell (admin)
wsl -l -v
I removed those distros after uninstalling docker desktop completely (including deleting docker folders from appdata manually)
PowerShell (admin)
wsl --unregister "DistributionName"
Replacing "DistributionName"
with the name of your targeted distribution will unregister that distribution from WSL so it can be reinstalled or cleaned up. Caution: Once unregistered, all data, settings, and software associated with that distribution will be permanently lost. Reinstalling from the store will install a clean copy of the distribution. For example, wsl --unregister "DistributionName"
would remove "DistributionName"
from the distributions available in WSL. Running wsl --list
will reveal that it is no longer listed.
PowerShell (admin)
wsl --unregister docker-desktop-data
wsl --unregister docker-desktop
Finally, reinstalled Docker desktop and its associated applications.
It started working perfectly!