Nov 24 2020 02:40 PM
Nov 24 2020 02:40 PM
Just getting involved with Insider Preview...upgraded 2019 Datacenter (latest official release) to 20262. After the upgrade, downloaded and ran the Linux Kernel update package. When running WSL commands from the command-line, almost every command I run returns the same output that wsl --help enumerates. If I run wsl --set-default-version 2, it enumerates the help context. Did I miss a step to get this to work or is this a known bug?
Nov 30 2020 10:16 AM - edited Nov 30 2020 10:18 AM
I have the same problem, wsl and docker does not start. It is a little random, but if I restart the PC sometimes it start again.
Jan 01 2021 03:03 AM
Jan 30 2021 01:19 PM
BTW the last build where it works is build 20241.
first go to insider website and sign-in Download Windows Server Insider Preview (microsoft.com)
Then you can generate the link to download the older build here
After successfully installing a distro inside the build 20241 I have tried in-place upgrade to the latest 20287, which finished OK, but it doesn't only brakes the "wsl --set-default-version 2" command, it doesn't want to start the distro anymore, the error is something about mount failed.
Feb 01 2021 12:02 PM
I have just realized that the build 20241 where WSL2 works expired on January 31 2021
And it looks like the timebomb breaks the WSL, I am unable to start or import any distro and am getting "Invalid Data" error. As soon as I changed the date back in time everything works again.
I am looking forward to a new build with working WSL2.
Feb 03 2021 02:47 AM
Feb 03 2021 02:53 AM
Feb 10 2021 06:59 AM
Although I am able to run the WSL2 in the build 20241 while having the time set back, it doesn't really help much, because of the time difference SSL is broken and thus other things are broken and you can't install any docker container from online.
Mary can you please give us some official statement?
Is there any hope that WSL2 will be fixed in next builds or the rumors are right and WSL2 will not be part of the final WS2022 release?
I would be glad to test and report back, because I like the idea of having both Windows and Linux containers on one host next to each other.
Feb 10 2021 07:11 AM
@LubomirH It is my opinion that it is unlikely that WSL will be included in the final Windows Server product as it was was not included in Windows Server 2019. The investigation on this issue is ongoing and I hope to have a more complete answer for you soon. We do recommend upgrading to the latest preview build in order to pick up all the recent fixes and updates.
Feb 10 2021 09:35 AM - edited Feb 10 2021 09:36 AM
I am confused.
Isn't WSL part of the server since Windows Server 2019 (version 1709)?
It is at least written in the guide Install the Linux Subsystem on Windows Server | Microsoft Docs
And I could also find the WSL feature on the Windows Server 2019 LTSC (version 1809)
Am I missing something between the lines?