Docker won’t start. I’m getting this error.
Docker won’t start: checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.\n\n"}
It also won’t let me generate diagnostics using the user interface.
I’m using Windows 10 22H2 Build 19045.2546 at 64 bit and Docker 4.16.3
You can see some logs here for the displayed text errors and the diagnostics.
I am experiencing the same issue since Wednesday. Docker won’t start, references a WSL DISTRO error, but I can’t think of any change to WSL2/Hyper-V that could have triggered it.
I get 2 errors in window
- provisioning docker WSL distros: deploying “docker-desktop”: importing WSL distro “The parameter is incorrect. \r\nError code: Wsl/Service/CreateVm/ConfigureNetworking/E_INVALIDARG\r\n” …
- checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.
I am using Docker Desktop 4.17.0, Windows 10 21H2
I had the same problem:
wsl --unregister docker-desktop-data
And it worked for me.
Note: be aware that this command deletes the wsl distribution that stores the state of the docker engine. All data (=containers, images, volumes, networks,…) will be permanently lost and need to be recreated.
This worked for me perfectly! (and fortunately I could afford to lose everything contained within)