win11安装docker报错记录

报错一:

Docker Desktop - Unexpected WSL error

An unexpected error occurred while executing a WSL command.

Either shut down WSL down with wsl --shutdown, and/or reboot your machine. You can also try reinstalling WSL and/or Docker Desktop. If the issue persists, collect diagnostics and submit an issue

deploying WSL2 distributions

provisioning docker WSL distros: ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "找不到指定文件的虚拟磁盘支持提供程序。 \r\nError code: Wsl/Service/RegisterDistro/0xc03a0014\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --import docker-desktop <HOME>\AppData\Local\Docker\wsl\main C:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: 找不到指定文件的虚拟磁盘支持提供程序。

Error code: Wsl/Service/RegisterDistro/0xc03a0014

: exit status 0xffffffff

checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.

以上是因为没有安装wsl,解决办法:

使用命令提示符或者Windows PowerShell执行一下代码获取列表

复制代码
wsl --list --online

然后根据提示执行 wsl.exe --install 来安装 例如:

复制代码
wsl.exe --install Ubuntu-20.04

报错二:

执行wsl.exe --install Ubuntu-20.04报错了。

WslRegisterDistribution failed with error: 0xc03a0014

Error: 0xc03a0014 ???????????????????

Press any key to continue...

根据github查询到的解决办法:

1、打开设备管理器

2、点击系统设备

3、找到并开启一下设备:

Microsoft Hyper-V 虚拟化基础结构驱动程序

复合总线枚举器

Microsoft 虚拟驱动器枚举器

UMBus Root Bus Enumerator

NDIS 虚拟网络适配器枚举器

设备重定向器总线枚举器(如果适用)

相关推荐
阿里云云原生18 小时前
零配置部署顶级模型!函数计算一键解锁 Qwen3.5
云原生
AI攻城狮21 小时前
Kimi Bot + OpenClaw 完整配置指南:5 步实现本地 AI Agent 集成
人工智能·云原生·aigc
AI攻城狮2 天前
RAG Chunking 为什么这么难?5 大挑战 + 最佳实践指南
人工智能·云原生·aigc
哈里谢顿4 天前
Kubernetes Operator核心概念、实现原理和实战开发
云原生
阿里云云原生4 天前
你的 OpenClaw 真的在受控运行吗?
云原生
阿里云云原生4 天前
5 分钟零代码改造,让 Go 应用自动获得全链路可观测能力
云原生·go
Shanyoufusu124 天前
RKE2 单节点集群安装 Rancher+ 私有镜像仓库搭建 完整教程
云原生
阿里云云原生4 天前
Dify 官方上架 Higress 插件,轻松接入 AI 网关访问模型服务
云原生
AI攻城狮4 天前
OpenClaw Session 管理完全指南:Context 压缩、重置与持久化
人工智能·云原生·aigc
阿里云云原生8 天前
阿里云获评 Agentic AI 开发平台领导者,函数计算 AgentRun 赢下关键分!
云原生