当前位置:   article > 正文

An unexpected error was encountered while executing a WSL command. Common causes include access righ

an unexpected error was encountered while executing a wsl command. common ca

docker desktop安装问题

问题

An unexpected error was encountered while executing a WSL command. Common causes include access rights issues, which occur after waking the computer or not being connected to your domain/active directory.

Please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop. If the issue persists please collect diagnostics and submit an issue (https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal).
  • 1
  • 2
  • 3

解决方法

以下操作在window powershell的管理员权限下进行
首先要确保wsl安装正确

wsl -l #list wsl installed
wsl --update
  • 1
  • 2

其次更新网络设置

netsh winsock reset
  • 1
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号