当前位置:   article > 正文

An unexpected error was encountered while executing a WSL command. Common causes include access righ_an unexpected error occurred while executing a wsl

an unexpected error occurred while executing a wsl command.

docker desktop问题: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 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

解决

  1. powershell的管理员权限执行

    wsl安装正确

    wsl -l # list wsl installed
    wsl --update
    # 更新网络设置
    netsh winsock reset
    
    • 1
    • 2
    • 3
    • 4
  2. 重启电脑

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

闽ICP备14008679号