Windows Docker Desktop 无法启动 自动退出报错信息为:Docker Desktop -Unexpected WsL error An unexpected error was e

简介: Windows Docker Desktop 无法启动 自动退出报错信息为:Docker Desktop -Unexpected WsL error An unexpected error was e

问题描述

windows中打开Docker Desktop,页面中一直在加载,过一会就会弹出一个框,报错信息如下,如果你遇到的问题和我的一样,可以试试下面的这种解决方案…

报错信息:Docker Desktop -Unexpected WsL error An unexpected error was encountered while executing a WSL command. Commoncauses include access rights issues, which occur after waking the computer or notbeing connected to your domain/active directory. Please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. lfnot sufficient, WSL may need to be reinstalled fully. As a last resort, try touninstall/reinstall Docker Desktop. lf the issue persists please collect diagnostics andsubmit an issue ..://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-termin...

解决方案

  1. 解决办法:管理员身份启动cmd/powershell运行这个命令netsh winsock reset,再重启电脑错误就消失了
netsh winsock reset
  1. 使用nolsp,下载完毕nolsp后 将nolsp程序放置c盘,然后继续使用管理员身份启动cmd/powershell,
    注意:因为我的nolsp.exe文件是放置在c盘的根目录,所以用的一下命令。可以使用 cd 切换至你存放nolsp.exe的目录再执行一下程序
nolsp.exe C:\WINDOWS\system32\wsl.exe

当出现success的提示就成功了

我是用的第一种方法解决的

目录
相关文章
|
4天前
|
Linux 虚拟化 Docker
Windows12安装Docker
Windows12安装Docker
64 2
|
4天前
|
编解码 Linux Docker
如何在Windows上使用Docker,搭建一款实用的个人IT工具箱It- Tools
如何在Windows上使用Docker,搭建一款实用的个人IT工具箱It- Tools
21 0
|
4天前
|
存储 应用服务中间件 Docker
Docker容器无法启动Cannot find /usr/local/tomcat/bin/setclasspath.sh
根据具体情况,你可以尝试以上方法中的一个或多个,以解决 "Cannot find /usr/local/tomcat/bin/setclasspath.sh" 的问题。确保你的Docker容器中包含了完整且正确配置的Tomcat,并且相关文件和目录的权限设置正确。
28 0
|
4天前
|
Docker 容器
Windows11中移动 WSL到 D 盘
Windows11中移动 WSL到 D 盘
|
4天前
|
程序员 Docker Windows
Windows 10系统压缩C盘WSL虚拟磁盘文件
Windows 10系统压缩C盘WSL虚拟磁盘文件
44 1
|
4天前
|
运维 网络协议 Linux
linux/windows如何退出telnet
linux/windows如何退出telnet
86 0
|
4天前
|
Linux Windows
Windows Server 下文件同步
Windows Server 下文件同步
20 0
|
4天前
|
安全 数据安全/隐私保护 Windows
解锁安全之门,Windows Server 2019密码修改攻略大揭秘
解锁安全之门,Windows Server 2019密码修改攻略大揭秘
198 0
|
4天前
|
存储 安全 网络安全
铁壁如墙-WINDOWS SERVER 2019勒索病毒终极防御指南
铁壁如墙-WINDOWS SERVER 2019勒索病毒终极防御指南
|
4天前
|
开发框架 .NET 数据库
修改windows server 2008 时间和日期格式
修改windows server 2008 时间和日期格式
11 1
http://www.vxiaotou.com