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。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

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.toymoban.com/news/detail-838172.html

到了这里,关于Docker Desktop-Unexpected WSL error An unexpected error was encountered while executing a WSL comman的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Docker Desktop 启动报错 Unexpected WSL error 问题解决

    🚀 作者主页: 有来技术 🔥 开源项目: youlai-mall 🍃 vue3-element-admin 🍃 youlai-boot 🌺 仓库主页: Gitee 💫 Github 💫 GitCode 💖 欢迎点赞 👍 收藏 ⭐留言 📝 如有错误敬请纠正! 启动 Docker Desktop 报错 Unexpected WSL error,报错完整信息如下: 以管理员身份运行 CMD ,输入 netsh wi

    2024年02月05日
    浏览(44)
  • windows11启动docker报错:Docker Desktop - Unexpected WSL error

    问题描述 windows11启动docker(版本为4.26.1)报错: 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

    2024年04月12日
    浏览(27)
  • docker安装 unexpected wsl error

    很诡异的一个问题 大概现象和这个帖子很像 https://developer.aliyun.com/article/1395485 docker版本4.26.1 系统: windows 10 win+R 输入winver可以看见自己的版本号 华为matebook 16s 重装的Win10 首先按照这个哥们给的说法 https://zhuanlan.zhihu.com/p/666788196 把 控制面板-程序-程序和功能 配置成上面这个

    2024年01月18日
    浏览(34)
  • Docker unexpected wsl error 解决办法

    今天在使用windows电脑安装docker时,遇到 unexpected wsl error 这个错误,找了很长时间解决办法,最终将该问题解决,目前将所有的解决办法综合了下,并留作记录。 准备 首先如果没有下载的Docker的同学可以通过这个链接地址进行Docker的下载。 Docker Personal - Sign Up for Free | Docke

    2024年02月04日
    浏览(41)
  • An unexpected connection driver error occured

    安装下载好rabbitmq,我在springboot整合mq,启动的时候报错了 An unexpected connection driver error occured 后来又报 Failed to check/redeclare auto-delete queue(s). 综合就是连接问题,端口有问题 我试过添加账户,提高权限,都没用,参考了 https://blog.csdn.net/weixin_43933728/article/details/124691726 最后发

    2024年02月11日
    浏览(60)
  • yarn报错 error An unexpected error occurred httpsregistry.yarnpkg.com...

    1. 报错原因 使用yarn命令安装依赖包时报错,提示信息: error An unexpected error occurred: \\\"https://registry.yarnpkg.com/killable/-/killable-1.0.0.tgz: connect ETIMEDOUT 104.16.19.35:443\\\" 这是由于资源地址请求超时造成的,需要更换一下请求地址。 2. 解决方案 将资源地址设置为淘宝镜像: 查看当前镜像

    2024年02月12日
    浏览(42)
  • 解决方案:yarn 出现error An unexpected error occurred错误的解决办法

    yarn 相比于 npm 、 cnpm 、 npx 来说,效率很高,是前端工程师首选的 包管理 工具,但今日在项目中遇到一个问题,让人很是头疼,看一下报错: 网上搜索解决方案,查阅了一下yarn官方文档,查找到一种解决方法 相信出现类似的情况,会帮助到大家!!!

    2024年02月05日
    浏览(68)
  • There was an unexpected error (type=Internal Server Error, status=500).

    There was an unexpected error (type=Internal Server Error, status=500). org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: “class path resource [templates/main.html]”) 这个错误原因在于模板上的有些数据异常导致的: 问题描述 在开发springboot的时候,进行modelAndView 视图层

    2024年02月09日
    浏览(40)
  • Java连rabbitMQ 报错 An unexpected connection driver error occured

    Java 项目中连接不上 rabbitMQ,报错内容如下 An unexpected connection driver error occured   是 发生意外的连接驱动程序错误 最大的可能是 新建的用户 没有 授权 一、 要确认  服务器安装上mq之后默认端口15672是浏览器浏览的端口,项目中则是需要配置成5672 二、新建用户需要授权 

    2024年02月12日
    浏览(48)
  • There was an unexpected error (type=Bad Request, status=400).

    本来是在学习@RequestParam 这个注解,前后端代码完善后就在浏览器里进行了测试,结果报了 400 的错。 前端的请求链接如下: 首先得知道 400 这个状态码是啥意思:400 ,bad request意思是“错误的请求\\\"; 所以是请求方式有问题吗? 我寻思这里的GET请求也是符合URL语法的,所以

    2024年02月13日
    浏览(42)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包