问题:

deploying WSL2 distributions provisioning docker WSL distros: ensuring main distro is deployed: checking if main distro is up to date: checking main distro bootstrap version: getting main distro bootstrap version: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe -d docker-desktop -u root -e wsl-bootstrap version: 无法将磁盘“<HOME>\AppData\Local\Docker\wsl\distro\ext4.vhdx”附加到 WSL2: 系统找不到指定的路径。 Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_PATH_NOT_FOUND : exit status 0xffffffff checking if isocache exists: CreateFile \\wsl$\docker-desktop-data\isocache\: The network name cannot be found.

解决方法

1、打开管理员终端,运行wsl --list命令获取所有wsl分发

wsl --list

2、运行wsl --unregister docker-desktop-data命令

WSL
Issues found on WSL
wsl --unregister docker-desktop-data

3、运行wsl --unregister docker-desktop命令

wsl --unregister docker-desktop

4、重启docker-desktop即可

GitHub 加速计划 / ws / WSL
20
0
下载
Issues found on WSL
最近提交(Master分支:5 个月前 )
8c61f09e * Add super user detection; a powershell approach is used * use the 'id' command * avoid stderr warning & wsl alias 1 个月前
ae780d11 1 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐