How to Solve Docker Desktop Start Error in Win10

Error message

Docker.ApiServices.WSL2.WslKernelUpdateNotInstalledException: Throws an exception of type 'Docker.ApiServices.WSL2.WslKernelUpdateNotInstalledException'.
    At Docker.ApiServices.WSL2.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) location C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.ApiServices\WSL2\ WslCommand.cs: line number 140
    At Docker.Engines.WSL2.WSL2Provisioning.<DeployDistroAsync>d__17.MoveNext() location C:\workspaces\PR-16070\src\github.com\docker\pinata\win\src\Docker.Desktop\Engines\WSL2\ WSL2Provisioning.cs: line number 169
--- End of stack trace in previous position where exception was thrown ---

Solution:

Method 1

Execute CMD command in administrator mode Netsh Winsock reset

Restart docker desktop to solve the problem!

Method 2

Open website https://czf-net.xyz/res/

Download WSL msi

install

Restart docker desktop to solve the problem!

Similar Posts: