WSL 2

user-pic
Vote 0 Votes

Windows 10 組建 18917 開始支援 WSL 2

查看現有版本
C:\>wsl -l -v
NAME STATE VERSION
* Ubuntu Running 1

WSL 2 需要更新其核心元件。請造訪 https://aka.ms/wsl2kernel
裝完核心更新套件後,可以設定預設為 WSL2
C:\>wsl --set-default-version 2
有關 WSL 2 的主要差異詳細資訊,請瀏覽 https://aka.ms/wsl2

轉換現有 distro 到 2 版
C:\>wsl --set-version Ubuntu 2
正在進行轉換,這可能需要幾分鐘的時間...
有關 WSL 2 的主要差異詳細資訊,請瀏覽 https://aka.ms/wsl2
轉換完成。

再次查看版本,已是版本 2
C:\>wsl -l -v
NAME STATE VERSION
* Ubuntu Stopped 2

About this Entry

This page contains a single entry by Pank published on April 26, 2020 9:19 PM.

Hyper-V is not configured to enable processor resource controls was the previous entry in this blog.

修正 Onedrive 正在處理變更 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives