Docker Community Forums

Share and learn in the Docker community.

Docker start failed on windows 10. An error occured

Hi there, Docker start failed. The following is the message I got when I launch Docker Desktop on my windows 10 machine. Can anyone have ideas?

An Error Occured

System.InvalidOperationException:
Failed to set version to docker-desktop: exit code: -1
stdout: The attempted operation is not supported for the type of object referenced.

stderr:
at Docker.ApiServices.WSL2.WslShortLivedCommandResult.LogAndThrowIfUnexpectedExitCode(String prefix, ILogger log, Int32 expectedExitCode) in C:\workspaces\PR-15633\src\github.com\docker\pinata\win\src\Docker.ApiServices\WSL2\WslCommand.cs:line 146