WSL 2 是 WSL 中新版本的架構,可變更 Linux 散發版本與 Windows 互動的方式。WSL 2 is a new version of the architecture in WSL that changes how Linux distros interact with Windows. WSL 2 的主要目標是增加檔案系統效能,以及新增完整的系統呼叫相容性。WSL 2 has the primary goals of increasing file system performance and adding full system call compatibility. 每個 Linux 散發版本可以執行為 WSL 1 或 WSL 2 散發版本,並可隨時在其間切換。Each Linux distro can run as a WSL 1, or a WSL 2 distro and can be switched between at any time. WSL 2 是基礎架構的重大檢修,並使用虛擬化技術和 Linux 核心來啟用其新功能。WSL 2 is a major overhaul of the underlying architecture and uses virtualization technology and a Linux kernel to enable its new features.

這個 WSL 2 章節會討論下列主題:This WSL 2 section goes over the following topics: