Open HummingMind opened 1 year ago
It seems that in Windows 10 the situation is opposite.
DD v4.25.0 requires elevated privileges to run wsl --update
, but if the user chooses to update WSL manually, DD always claims that WSL should be updated and refuses to run 🤷
WSL v1.2.5.0 is the latest stable version in Windows 10. wsl --update
does not update it to any newer version (as of the date of writing this comment).
If DD requires a newer version of WSL, a pop-up window with an error message should show which version of WSL is installed currently and which version of WSL DD actually requires.
PS D:\> wsl --version
WSL: 2.0.9.0
Kernel: 5.15.133.1-1
WSLg: 1.0.59
MSRDC: 1.2.4677
Direct3D: 1.611.1-81528511
DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows: 10.0.19045.3693
When I choose to update WSL manually:
DD doesn't start:
Diagnose & Feedback doesn't work because DD isn't running:
@mmarinchenko Man I would love to be able to configure this Manually update WSL 2 myself
optional, but I don't see this option when I reinstall. Any idea how to configure that after installation—perhaps some config file?
@huyz I think this option has been removed from DD since then. At least, I haven't seen this dialogue for a long time.
@mmarinchenko Ah thanks.
What a shame. This is causing tons of problems for people. I can't script anything if a UAC prompt breaks my flow. If this isn't fixed soon, I'll just have to abandon Docker Desktop for Windows. Maybe I should just get rid of Windows altogether and go with Proxmox
Description
Docker for Windows seems to always enable the old WSL2 that is bundled with Windows 11. During the 1st installation as well as during Docker version updates. This is really annoying.
WSL is distributed via the Windows store nowadays and installs a much newer version.
Reproduce
N/A
Expected behavior
Docker should be made aware of WSL that is already installed via the Microsoft store and should not keep re-installing the old WSL included in Windows 11 as a "Window Feature".
docker version
docker info
Diagnostics ID
11629DBB-BB38-487B-BC18-88A450161217/20231027232423
Additional Info
No response