Windows Server 2025 WSL 错误

Anonymous
2024-11-18T07:48:27+00:00

docker desktop 启动报错:

deploying WSL2 distributions ensuring main distro is deployed: deploying "docker-desktop": importing WSL distro "系统找不到指定的路径。 \r\n错误代码: Wsl/Service/RegisterDistro/CreateVm/HCS/ERROR_PATH_NOT_FOUND\r\n" output="docker-desktop": exit code: 4294967295: running WSL command wsl.exe S:\Windows\System32\wsl.exe --import docker-desktop <HOME>\AppData\Local\Docker\wsl\main S:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar --version 2: 系统找不到指定的路径。 错误代码: Wsl/Service/RegisterDistro/CreateVm/HCS/ERROR_PATH_NOT_FOUND : exit status 0xffffffff checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.

然后我提取了一下命令行尝试手动运行

S:\Windows\System32\wsl.exe --import docker-desktop "%UserProfile%\AppData\Local\Docker\wsl\main" "S:\Program Files\Docker\Docker\resources\wsl\wsl-bootstrap.tar" --version 2

仍然报错:
正在导入,这可能需要几分钟时间。

系统找不到指定的路径。

错误代码: Wsl/Service/RegisterDistro/CreateVm/HCS/ERROR_PATH_NOT_FOUND

我不知道这到底是什么问题,请告诉我怎么做。

Windows for business | Windows Server | User experience | Remote desktop services and terminal services

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-18T08:29:05+00:00

    Hello,

    Thank you for posting in the Microsoft Community forum.

    I understand that your question is related to Windows Subsystem for Linux (WSL). Given the technical nature of your inquiry, I recommend redirecting your question to our specialized forum dedicated to this topic:

    Windows Server - Microsoft Q&A

    Thank you for your understanding and cooperation.

    Best regards

    Jacen

    0 comments No comments
  2. Anonymous
    2024-11-18T08:53:55+00:00

    你会用中文吗

    请用中文

    0 comments No comments
  3. Anonymous
    2024-11-18T09:02:33+00:00

    在那里发帖 我刚发出来就被 Delete 了

    我不知道为什么

    https://learn.microsoft.com/en-us/answers/questions/2120276/troubleshooting-docker-desktop-installation-on-win

    这是我刚发出的帖子

    0 comments No comments
  4. Anonymous
    2024-11-18T09:15:18+00:00

    I sent it again...

    Troubleshooting Docker Desktop Installation on Windows Server 2025 - Microsoft Q&A

    Please don't delete it again, Microsoft.

    0 comments No comments
  5. Anonymous
    2024-11-18T09:23:25+00:00

    I sent it again...

    Troubleshooting Docker Desktop Installation on Windows Server 2025 - Microsoft Q&A

    Please don't delete it again, Microsoft.

    It was deleted again and again...

    What did I do, Microsoft?

    Now:

    When I first sent it:

    0 comments No comments