启动Docker 提示WSL update failed
启动Docker 提示WSL update failed
·
表现如下

Docker Desktop - WSL update failed
An error occurred while updating WSL.
You can manually update using wsl --update.
If the issue persists, collect diagnostics and submit an issue .
wsl update failed: update failed: updating wsl: wsl.exe --update --web-download not supported
一:基础环境检查与配置
以管理员身份运行PowerShell,执行以下命令
dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
重启电脑使配置生效
二:设置WSL 2为默认版本
wsl --set-default-version 2
若仍失败,尝试关闭代理或加速器后重试
三:强制更新WSL
wsl --update --web-download


重新启动,无再次提示WSL update failed
更多推荐
所有评论(0)