WSL 2 for insiders now supports kernel on demand

WSL 2

It is not something that a server is going to use a lot (in fact nothing), but Microsoft released Windows Subsystem for Linux almost three years ago and it did it because it sure is interesting for many other users. It is a Linux subsystem that runs on Windows, allowing certain Linux software to run on Microsoft's operating system. Yesterday, the company that Satya Nadella runs He launched a new version of WSL 2 which adds interesting improvements.

For starters, the new version of Windows Subsystem for Linux 2, from moment only available to insiders (those that use the trial versions), allows us to use the kernel that best suits our needs. To do this, just go to the "kernel" option in the ".wslconfig" file to specify the path to a kernel that we have on our computer and that kernel will be loaded into the WSL 2 virtual machine when it starts. If we do not specify any option, we will revert to using the default kernel.

WSL 2 allows us to connect to Linux apps via localhost

To continue, the new build for WSL 2 insiders allows to use localhost to connect to Linux applications from Windows. In the first version we needed to access our network applications through a remote IP address, but Microsoft realized that this had to change and they have begun to take the first steps to do so in the version released yesterday, July 26.

The last new feature has to do with the configuration: before the wsl.conf file was configured, but there are some options that need to be applied to all distributions. All WSL 2 distros run on the same virtual machine, so no modifications we make to the wsl.conf file will apply to all distributions. To make global changes, there is the .wslconfig file option that we mentioned earlier, but we have to create it manually in the folder C: \ Users \ OurUsername \,

Without a doubt, an interesting update… for those who are interested.

Windows_WSL
Related article:
Microsoft already released WSL2, the Windows subsystem for Linux

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.