当前位置:   article > 正文

安装Docker提示Unexpected WSL error_an unexpected error was encountered while executin

an unexpected error was encountered while executing a wsl command

报错:

Docker Desktop- Unexpected WSL error 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 (//docs.docker.com/desktop/troubleshoot/overview/#fdiagnose-from-the-terminal)。

网上的各种方法、命令、windows功能开关都尝试过了,但我的电脑上打开Docker一直会报这个错。

Docker的官网上告诉我们在windows上安装有两种方法,一个是使用wsl一个是使用hyper-v。

Install Docker Desktop on Windows | Docker Docs

于是我尝试重新安装docker时,选择不使用wsl,而是hyper-v,一下就打开了。

红色方框不要勾选:即使用hyper-v

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

闽ICP备14008679号