Docker Community Forums

Share and learn in the Docker community.

Having issue with Docker Desktop installation. I cannot install it. providing the log file for helping me with investigation

I am having issue with my docker desktop. I had it working, but then i got an update alert, and when i tried to apply the update, it failed and then its not installing or updating. I tried to un-install and install, but that is also not working. I am new to Docker, so some guidance would be highly appreciated.

===== INSTALL-LOG FILE ====

Version: 3.1.0 (51484)
Sha1: 04f280b1648e29845ae5734cfcc14796c92f3de2
Started on: 2021/03/15 22:14:56.945
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 1909
Build: 18363
BuildLabName: 18362.1.amd64fre.19h1_release.190318-1202
File: C:\Users<PROFILE_FOLDER

  • List item

\AppData\Local\Docker\install-log.txt
CommandLine: “C:\Program Files\Docker\Docker\InstallerCli.exe” -i
You can send feedback, including this log file, at Issues · docker/for-win · GitHub
[22:14:57.214][ComponentVersions ][Info ] Edition community
[22:14:57.279][Installer ][Info ] Preparing upgrade…
[22:14:57.451][HyperV ][Info ] Destroy
[22:14:58.758][LinuxWSL2Engine ][Info ] Destroying distro
[22:15:02.269][Installer ][Info ] Prepare upgrade completed successfully
[22:15:02.270][Installer ][Info ] Fixing permissions…
[22:15:02.271][Installer ][Info ] Directory C:\ProgramData\DockerDesktop\version-bin does not exist
[22:15:02.271][Installer ][Info ] Directory C:\ProgramData\Docker\cli-plugins does not exist
[22:15:02.287][Installer ][Info ] Permissions should be fixed.
[22:15:02.287][Installer ][Info ] Fixing permissions…
[22:15:02.288][Installer ][Info ] Deleting directory C:\ProgramData\DockerDesktop\version-bin
[22:15:02.288][Installer ][Info ] Deleting directory C:\ProgramData\Docker\cli-plugins
[22:15:02.297][Installer ][Info ] Permissions should be fixed.
[22:15:02.375][InstallWorkflow] Registering product
[22:15:02.404][InstallWorkflow] Cancel pending background download
[22:15:07.594][InstallWorkflow] Installation failed
Exception type: System.Exception, Exception message: Failed to register product: The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE)), StackTrace:
at CommunityInstaller.InstallWorkflow.d__29.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.d__23.MoveNext()
[22:15:07.605][InstallWorkflow] Rollbacking component CommunityInstaller.ExecAction
[22:15:07.611][InstallWorkflow] Rollbacking component CommunityInstaller.PathAction
[22:15:07.712][InstallWorkflow] Rollbacking component CommunityInstaller.PathAction
[22:15:07.827][InstallWorkflow] Rollbacking component CommunityInstaller.AutoStartAction
[22:15:07.830][InstallWorkflow] Rollbacking component CommunityInstaller.ShortcutAction
[22:15:07.839][InstallWorkflow] Rollbacking component CommunityInstaller.ShortcutAction
[22:15:07.841][InstallWorkflow] Rollbacking component CommunityInstaller.ServiceAction
[22:15:08.860][InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[22:15:08.862][InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[22:15:08.864][InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[22:15:08.866][InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[22:15:08.868][InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[22:15:08.888][FileSystem] Deleting C:\Program Files\Docker\Docker
[22:15:09.473][FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[22:15:09.474][InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[22:15:09.475][InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep