安装好的dockerdesktop,启动报需要重新安装wsl
场景:安装好的dockerdesktop使用一段时间后,突然启动报错,错误信息如下
An unexpected error was encountered while executing a WSL command. Commoncauses include access rights issues,
which occur after waking the computer or notbeing connected to your domain/active directory.
please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. lfnot sufficient, WSL may need to be reinstalled fully.
As a last resort, try touninstall/reinstall Docker Desktop, lf the issue persists please collect diagnostics andsubmit an issue
....//docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).
出现问题的可能场景:
启动wsl使用过代理或加速器等软件
wsl更新后, wsl --update操作后
win10/win11升级后, 替你安装或者升级了"Windows Subsystem for Linux Preview"
出现具体原因:
(我不懂, 搬运大佬猜测)wsl启动时加载了Proxifier的一个模块, 此前使用过代理会导致此问题出现
解决方案:管理员身份启动cmd/powershell , 运行 netsh winsock reset,可能会提示需要重启电脑
更多推荐
所有评论(0)