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的提示就成功了

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

目录
相关文章
|
3月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
311 1
|
3月前
|
人工智能 JavaScript 开发工具
极速上手!Claude Code 原生支持 Windows 免WSL安装教程
Claude Code 现已支持 Windows 原生运行,无需 WSL 配置。本文提供详细安装教程,涵盖 Node.js 环境验证、Git 安装及 Claude Code 配置步骤,助你快速上手这一强大 AI 编程工具。
1572 5
|
12月前
|
Ubuntu 网络协议 Linux
快速部署WSL(Windows Subsystem for Linux)
WSL提供了一种轻量级的方法,使开发者能够在Windows上无缝运行Linux环境。通过本文介绍的步骤,可以快速安装、配置和使用WSL,以满足开发和测试的需求。
2117 8
|
Ubuntu Docker 容器
本地wsl的Ubuntu安装docker,不使用docker桌面版
本文提供了在WSL的Ubuntu环境中安装Docker引擎的步骤,包括安装引擎、配置iptables以及启动Docker服务。
1029 2
|
Ubuntu Linux 数据安全/隐私保护
Windows 怎么启用WSL
Windows 怎么启用WSL
|
PHP Windows
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
【Azure App Service for Windows】 PHP应用出现500 : The page cannot be displayed because an internal server error has occurred. 错误
266 1
|
资源调度 编译器 Linux
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
Windows10系统安装Truffle框架,安装失败,提示:error An unexpected error occurred: “https://xxxxx
415 0
|
存储 Shell 开发工具
8-8|windows上Git报错
8-8|windows上Git报错
|
Shell PHP Windows
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
【Azure App Service】Web Job 报错 UNC paths are not supported. Defaulting to Windows directory.
166 0

热门文章

最新文章