当前位置:   article > 正文

windows10&11 启动Docker Desktop报 “Docker Desktop - Unexpected WSL error”

unexpected wsl error

报错内容

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).
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

在这里插入图片描述

出现场景

win10/win11升级后, 替你安装或者升级了"Windows Subsystem for Linux Preview"

其他场景汇总:

  • 启动wsl使用过代理或加速器等软件
  • wsl更新后, wsl --update操作后

出现原因

参考某大佬的猜测:

wsl启动时加载了Proxifier的一个模块, 此前使用过代理会导致此问题出现

解决方案

管理员身份启动cmd/powershell , 运行

netsh winsock reset
  • 1

重启电脑后启动wsl, 我通过这种方式已经解决了问题

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/808521
推荐阅读
相关标签
  

闽ICP备14008679号