window 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](https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal)).

 

 

解决方案

需要重新卸载 wsl ,重启后重新安装 docker desktop 即可。

 

wsl 卸载

  • 打开 “控制面板”。
  • 点击”程序”。
  • 选择”程序和功能”。
  • 在菜单的左侧选择”启用或关闭Windows功能”。
  • 取消勾选”适用于Linux的Windows子系统”选项。
  • 单击”确定”按钮。
  • 您需要重启计算机,以使更改生效。

 

成功安装 docker desktop, 如图所示

 

posted @   贝尔塔猫  阅读(2230)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2018-07-23 JavaScript / Html 转 pdf、图片
点击右上角即可分享
微信分享提示