跨境派

跨境派

跨境派,专注跨境行业新闻资讯、跨境电商知识分享!

当前位置:首页 > 平台政策 > Docker Desktop-Unexpected WSL error An unexpected error was encountered while executing a WSL comman

Docker Desktop-Unexpected WSL error An unexpected error was encountered while executing a WSL comman

时间:2024-03-30 20:50:47 来源:网络cs 作者:欧阳逸 栏目:平台政策 阅读:

标签:
阅读本书更多章节>>>>

windows安装docker报错:

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 (wl --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 (Troubleshoot Docker Desktop | Docker Docs).

解决方法:

1- 以管理员身份运行cmd.

2- 执行以下命令 (提示是否重启电脑,选N):

DISM /Online /disable-Feature /FeatureName:VirtualMachinePlatform

DISM /Online /disable-Feature /FeatureName:HypervisorPlatform

DISM /Online /disable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux

3- 手动重启电脑

4- 再次以管理员身份运行cmd.

5- 执行以下命令 (提示是否重启电脑,选N):

DISM /Online /enable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux

DISM /Online /enable-Feature /FeatureName:VirtualMachinePlatform

DISM /Online /enable-Feature /FeatureName:HypervisorPlatform

6- 再次手动重启电脑

7-完成。

阅读本书更多章节>>>>

本文链接:https://www.kjpai.cn/zhengce/2024-03-30/151177.html,文章来源:网络cs,作者:欧阳逸,版权归作者所有,如需转载请注明来源和作者,否则将追究法律责任!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。

文章评论