WSL相关报错

出现WSL integration with distro ‘Ubuntu’ unexpectedly stopped. Do you want to restart it?解决办法

1
2
3
内容:starting distro Ubuntu: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe -d Ubuntu uname: 无法将磁盘“F:\wsl\CanonicalGroupLimited.UbuntuonWindows_2004.2021.825.0\Ubuntu_2004.2021.825.0_x64\ext4.vhdx”附加到 WSL2: 系统找不到指定的路径。 
Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_PATH_NOT_FOUND
: exit status 0xffffffff

解决方法:我不知道

关闭docker或终端wsl,管理员powershell输入

1
netsh winsock reset

然后重启电脑或docker

Powered by Hexo and Hexo-theme-hiker

Copyright © 2022 - 2024 熄火の站 All Rights Reserved.

UV : | PV :