docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 292 forks source link

Installation Failed Docker Version: 4.28.0 #14004

Open tuliocruz opened 7 months ago

tuliocruz commented 7 months ago

Description

When running the Docker installer with Administrator permission, an installation failure is reported with the following error message as shown in the screenshot below: image
This is the configuration of my computer with Windows 10: image


Hyper-V is enabled and wsl is also installed and configured on my Windows 10:

image image image

Reproduce

1- Baixe o docker do site official: image

2- Execute o arquivo baixado com acesso de Administrador: image

Expected behavior

No response

docker version

Component Docker.Installer.EnableFeaturesAction failed: Classe não registrada

   em Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada ---
   em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   em Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()

docker info

.

Diagnostics ID

123456

Additional Info

No response

TheTerrasque commented 7 months ago

Having a similar problem here, not sure if it's the exact same problem. v4.28.0 installer

Error message:

Component Docker.Installer.EnableFeaturesAction failed: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.
   at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
ssalokhaGodel commented 4 months ago

Hi! Have the same issue with docker

mtechnomaniac commented 3 months ago

I also get the following error when trying to install Docker Desktop on Win10:

Component Docker.Installer.EnableFeaturesAction failed: Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest. at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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 Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()

Tried the most recent and older Versions of Docker Desktop Installer: 4.30.0, 4.31.1 & 4.32.0 (157355) but the issue remains even after reinstalling Win 10 Pro 22H2 (19045.4651)

Hyper-V is enabled & WSL are configured. able to launch Ubuntu & also WSL prompts without any issues.

elpanas commented 3 months ago

Idem here. I used the internal updater to update from 4.28 to 4.32 and Docker destroyed itself. Then I tried to reinstall it from the installer and this error turns up. I tried to to delete every remaining folder/files manually but nothing I tried to disable WSL 2 and same error.

image

ovavadim commented 3 months ago

Idem here. I used the internal updater to update from 4.28 to 4.32 and Docker destroyed itself. Then I tried to reinstall it from the installer and this error turns up. I tried to to delete every remaining folder/files manually but nothing I tried to disable WSL 2 and same error.

image

I confirm the same issue, this also happened after the update: https://github.com/docker/for-win/issues/14265

mtechnomaniac commented 5 days ago

I simply don't understand why the issue reminded after windows reinstall. finally gave up on Docker and installed Rancher instead :(