## 什麼是WSL(Windows 子系統 Linux版)? > 出自:[微軟 - 什麼是 Windows 子系統 Linux 版?](https://learn.microsoft.com/zh-tw/windows/wsl/about) 適用於 Linux 的 Windows 子系統可讓開發人員執行 GNU/Linux 環境 (包括大部分的命令列工具、公用程式和應用程式),直接在 Windows 上執行,不需進行修改,不會造成傳統虛擬機器或 dualboot 設定的額外負荷。 ## 參考文件 * [Install Docker on Windows 10 and Windows 11](https://4sysops.com/archives/install-docker-in-windows-10-and-windows-11/) * [WSL 的基本命令](https://learn.microsoft.com/zh-tw/windows/wsl/basic-commands) ## (一)電腦環境 - Hyper-V * Windows 10:Pro 21H1(build 19043)或更高版本,或 Enterprise/Education 20H2(build 19042)或更高版本 * Windows 11:專業版/企業版/教育版 21H2 或更高版本 ### 設定 1. 點擊「開啟或關閉Windows功能」  2. 勾選「Hyper-V」、「容器」並確定  ## (二)Docker安裝流程 ### 1. 去 [Docker官網](https://www.docker.com/) 下載軟體  ### 2. 安裝docker  ### 3. 安裝完成 :::danger 「Close and restart」會使電腦重新啟動,請確保電腦其他檔案保存狀態。 :::  ### 4. 使用PowerShell更新wsl  輸入指令:`wsl --update` :::info 執行指令後會詢問「Windows 子系統 Linux版」等項目的安裝詢問視窗,都按「確定」。 ::: ### 5. 更新完成  ### 6. 開始使用Docker 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up