Tag Archives: Docker Desktop

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!

Windows 10 Run Docker Desktop Error: WSL 2 installation is incomplete

Error reporting description

When we install docker desktop, he will ask us whether we need to use wsl2 (Windows based Linux subsystem). If it is not applicable, we will use Hyper-V virtual machine to run. However, compared with virtual machine, the subsystem has better performance. After we choose to use wsl2, and we also confirm that the windows function shown in the figure below is turned on

After installing docker desktop for windows10 operating system, the following prompt window appears after startup: WSL 2 installation is incomplete

Error reporting solution

According to the error prompt, it is speculated that the wsl2 version we use is old and needs to be updated manually. According to the prompt, we go to Microsoft’s official website to download the latest version of wsl2 and open it normally after installation.