So every restart of an app i has that error, it can be fixed only with “wsl --unregister docker-container” command in cmd, but each time i restart app i has the same.
How to fix that?
deploying WSL2 distributions
ensuring data disk is available: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --mount --bare --vhd E:\Docker\wsl\DockerDesktopWSL\disk\docker_data.vhdx: Не удалось подключить диск “\?\E:\Docker\wsl\DockerDesktopWSL\disk\docker_data.vhdx” к WSL2: Access is denied.
Error code: Wsl/Service/AttachDisk/MountVhd/HCS/E_ACCESSDENIED
: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.
This looks like the same error I got both before and after I restarted my computer. I restarted the Docker Desktop Service in Services and opened Docker Desktop again and it appears to be working.
So any fixes?
Cause im done having it
I did fix it somehow, playing with wsl path and administrator permissions of folders and app
But anyway too anoying if i have it on other device
Hi, I managed to get this working for me. I had to add the user account i was logged in with (windows) to the DockerDesktopWSL folder (I had changed my location to a second drive) had to give the same permissions as found on the C/Users/account/.docker folder. (in my case i found my user account was on the .docker file but not on my WSL folder) hope this helps