I am trying to install Docker Desktop on windows 10. I have made sure that all the system requirements are met as instructed on the Docker website. But for some reason I still get a failed installation with the following text:
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.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.d__23.MoveNext()
It was more of a hunch, than actually knowing what causes the problem. I always wondered whether it makes a difference whether in-box (what is installed by the feature) or the application (either from the Microsoft store or GitHub release page) makes a difference. Apparently it does not.