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:
- Docker Desktop: Error response from daemon: driver failed programming external connectivity on en…
- [Solved] VS winsock.h and ws2def.h a large number of redefined error
- Ubuntu20.04 server Error: Failed to restart docker.service: Unit docker.service not found
- Docker ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? [How to Solve]
- Ionic Error: Failed to load resource [How to Solve]
- [Solved] Docker forever in “Docker is starting..” at Windows task
- Windows 10 Run Docker Desktop Error: WSL 2 installation is incomplete
- How to Solve Error during connect when installing docker in Windows 10
- docker pull Error: Get https://hub.xxx.com/v1/_ping: dial tcp 192.168.1.8:443: getsockopt: connection refused
- [How to]docker http: server gave HTTP response to HTTPS client