Docker Desktop WSL update failed&Unexpected WSL error
我在win10下安裝Docker,卻一直出現錯誤
deploying WSL2 distributions ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "您目前的電腦設定不支援 WSL2。\r\n請啟用「虛擬機器平台」選擇性元件,並確保 BIOS 中已啟用虛擬化。\r\n啟用以下項目,以執行 [虛擬機器平台]: wsl.exe --install --no-distribution\r\n如需詳細資訊,請瀏覽 https://aka.ms/enablevirtualization\r\n錯誤碼: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe C:\Windows\System32\wsl.exe --import docker-desktop <HOME>\AppData\Local\Docker\wsl\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: 您目前的電腦設定不支援 WSL2。 請啟用「虛擬機器平台」選擇性元件,並確保 BIOS 中已啟用虛擬化。 啟用以下項目,以執行 [虛擬機器平台]: wsl.exe --install --no-distribution 如需詳細資訊,請瀏覽 https://aka.ms/enablevirtualization 錯誤碼: Wsl/Service/RegisterDistro/CreateVm/HCS/HCS_E_HYPERV_NOT_INSTALLED : exit status 0xffffffff checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.
因為在Win10一定要在主板開虛擬化,我的電腦主板是Gigabyte ,型號為 B550M,其沒有Inter Virtual Technology,若有將“Disabled”改為“Enabled”,然後按下F10儲存並退出即可。我的型號沒有,那就找(Advanced CPU Core Settings)”——“SVM mode”,將“Disabled”改為“Enabled”即可。
留言
張貼留言