Closed Spongman closed 1 week ago
I have tried completely uninstalling Docker Desktop, removing all traces of files left behind, and reinstalling.
my win10 updates are up-to-date.
same error.
this all worked fine yesterday.
ok, i found the 'cause'. i had the following in my %USERPROFILE%\.wslconfig
:
[wsl2]
gpuSupport = false
which causes the /usr/lib/wsl
directory to not exist in the docker-desktop
wsl instance.
I have had this setting in my .wslconfig
file for years now, and it has never been an issue before.
this is a REGRESSION in Docker Desktop: it has never required gpuSupport
to be enabled until whatever recent upgrade broke this.
please fix this, and add this setting to your test matrix.
Quick fix.
wsl -d docker-desktop
mkdir /usr/lib/wsl
This didn't solve the issue for me.
"wsl -d docker-desktop mkdir /usr/lib/wsl"
Worked for me too!
I also have this entry in my config file:
"gpuSupport = false"
which I had to put there because WSL was making my computer very slow and this config was fix at that time.
4.34.0 has been released with a fix for this issue, more information o the release notes.
I'll be closing this issue, but if the problem persists please open a fresh issue!
Description
Reproduce
Expected behavior
it doesn't crash
docker version