Windows Subsystem for Linux (WSL) version 2 - WSL2
Windows Subsystem for Linux (WSL): WSL Topics, WSL 2, WSL Installation (wsl --install), WSL Configuration (wslconfig, wsl guiApplications=false), Linux VMs, WSL Commands (wsl --help, wsl --list, wsl --list --verbose, wsl --list --online, wsl --status, wsl --shutdown, wsl --update, wsl --set-default-version 2), Linux distros, Linux VMs on Hyper-V, Linux VMs on Azure, Linux VMs on AWS, Linux VMs on GCP, Linux VMs on VirtualBox, Linux VMs on VMware Fusion on macOS, Linux VMs on VMware Workstation Pro on Windows (navbar_wsl)
-
- For information on key differences with WSL 2 please visit https://aka.ms/wsl2
- The operation completed successfully.
What is WSL 2?
WSL 2 is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. Its primary goals are to increase file system performance, as well as adding full system call compatibility.
Source: https://www.youtube.com/watch?v=MrZolfGm8Zk
The primary reasons to update from WSL 1 to WSL 2 are to:
- increase file system performance
- support full Linux system call compatibility
- 100% Linux system call compatibility
- WSL 2 uses the latest and greatest in virtualization technology to run a Linux kernel inside of a lightweight utility virtual machine (VM). However, WSL 2 is not a traditional VM experience.
- WSL2 is 3 to 6x FASTER than WSL1
Learn all about WSL2, the new version of the Windows Subsystem for Linux, and what changes have been made to improve performance.
Craig Loewen will show you how to get things installed and set up a Linux development workflow that is integrated with Windows and VS Code. Check out the faster IO performance and Linux system call compatibility, then watch Craig run an app from inside a container using Docker Desktop for Windows and debug it using VS Code.
Here are some links to learn more:
- Compare WSL 2 and WSL 1 https://docs.microsoft.com/en-us/windows/wsl/compare-versions?WT.mc_id=windows-c9-niner
- Set-up your dev environment on Windows https://docs.microsoft.com/windows/de…
- File issues, search existing issues, get help with WSL https://github.com/microsoft/wsl/issu…
- Windows Command Line Blog (WSL News) https://devblogs.microsoft.com/comman…
- Source code for the Ghost Game demo https://github.com/craigloewen-msft/g…
- Get started using Docker containers with WSL2 and NodeJS https://docs.microsoft.com/windows/no…
- Install Docker Desktop for Windows https://docs.docker.com/docker-for-wi…
This new architecture changes how these Linux binaries interact with Windows and your computer's hardware, but still provides the same user experience as in WSL 1 (the current widely available version).
Individual Linux distributions can be run with either the WSL 1 or WSL 2 architecture. Each distribution can be upgraded or downgraded at any time and you can run WSL 1 and WSL 2 distributions side by side. WSL 2 uses an entirely new architecture that benefits from running a real Linux kernel.
Fair Use Source: https://docs.microsoft.com/en-us/windows/wsl/about#what-is-wsl-2
© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers
SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.