-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker dead after latest Kernel #11957
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Some logs |
Diagnostic information
|
After all the evening thrown to the bin, installing, uninstalling, and testing dozens of versions of WSL & Docker Desktop, I've finally discovered the issue: For some stupid reason WSL 2.3.17.0 DOWNGRADES default Kernel version to 5.15.153.1, because WSL 2.3.14.0 has, by default Kernel 6.6.36.3-1. Why? Noone knows. So basically, I downgraded to WSL 2.3.14.0 and now everything is working well again. I'm going to leave this open, because I think that the big bug here is that WSL 2.3.17.0 is being shipped with a 5.15 Kernel |
@SirLouen the reason for switching back to
So, now you know! |
I can't believe I read release notes for Docker and WSL-Kernels but not for WSL itself. A massive amount of time hitting my head with the wall just for this nuance. Anyway there is a bigger issue on the Docker Desktop side, with the Kernel compilation system I need to see if they sort. Because it breaks despite having a custom WSL Kernel, theorically compliant. |
Windows Version
Microsoft Windows [Version 10.0.22631.4037]
WSL Version
2.3.17.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.36.6
Distro Version
Ubuntu 22.04
Other Software
Docker Desktop: 4.33.1
Repro Steps
https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-6.6.36.3
Steps to compile:
1.1 Download the WSL2-Linux-Kernel
1.2 Extract and copy the config file attached as .config in the Kernel source files config-6.6.36.3.txt
1.3 Run commands:
Then copy the
vmlinux
in a place where Windows host can read itAdd the file it to the
.wslconfig
to run WSL with itShutdown wsl with
wsl --shutdown
to refresh with the new KernelStart a fresh installation of Docker Desktop
Expected Behavior
Docker Desktop should run
Actual Behavior
Throws an error, and an endless loop trying to update WSL. In the video, the administrative escalation prompt doesn't show up, but can be heard each time it pops:
Untitled.video.-.Made.with.Clipchamp.mp4
With the same WSL version, Docker Desktop version, and everything identical, if I use the standard Kernel 5.15.153.1, everything works well. But as soon I change to the new 6.6.36.6 Kernel, Docker Desktop breaks.
Diagnostic Logs
More info can be found here.
docker/for-win#14282
Problem here is that I'm not sure if its an issue with Docker Desktop or WSL Kernel, and since this is the issue tracker for WSL2-Linux-Kernel repo, I had to also post this here.
The text was updated successfully, but these errors were encountered: