I have installed Docker Desktop (Docker version 19.03.5, build 633a0ea) and am getting the following error each time I restart my machine, Hyper-V is enabled.
Any ideas please ?
Thanks very much in advance
Paul
Docker.Core.DockerException:
Docker.Core.Backend.BackendDestroyException:
Unable to create Hyper-V VM: The Hyper-V Management Tools could not access an expected WMI class on computer ‘DESKTOP-0VGS5BO’. This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.
at New-MobyLinuxVM, : line 388
at New-MobyLinux, : line 182
at , : line 810
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions, Credential credential)
at Docker.Backend.BackendNamedPipeServer.b__8_2(Object args)
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object parameters)
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object parameters)
System.Management.Automation.RuntimeException:
Unable to create Hyper-V VM: The Hyper-V Management Tools could not access an expected WMI class on computer ‘DESKTOP-0VGS5BO’. This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.
at New-MobyLinuxVM, : line 388
at New-MobyLinux, : line 182
at , : line 810
at Docker.Backend.HyperV.HandleException(String action, Exception ex)
at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters, PowerShellConfiguration config)
at Docker.Backend.HyperV.Create(Settings settings)
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions, Credential credential)
Microsoft.HyperV.PowerShell.VirtualizationException:
The Hyper-V Management Tools could not access an expected WMI class on computer 'DESKTOP-0VGS5BO'. This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.
Microsoft.Virtualization.Client.Management.ServerConnectionException:
The Hyper-V Management Tools could not access an expected WMI class on computer 'DESKTOP-0VGS5BO'. This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.
at Microsoft.Virtualization.Client.Management.Server.LoadOSInfo()
at Microsoft.HyperV.PowerShell.VirtualizationObjectLocator.PrepareServerConnections(Server server, Boolean allowDownlevelServers)
at Microsoft.HyperV.PowerShell.VirtualizationObjectLocator.GetServer(String computerName)
at Microsoft.HyperV.PowerShell.ExceptionHelper.TryWithLogging[TInput,TOutput](Func`2 function, TInput input, IOperationWatcher operationWatcher)
Microsoft.Management.Infrastructure.CimException:
Invalid class
at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase`1.MoveNext()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Microsoft.Virtualization.Client.Management.CimSessionWrapper.GetInstance(String namespaceName, ICimInstance instanceId, CimOperationOptions options)
at Microsoft.Virtualization.Client.Management.Server.GetInstance(WmiObjectPath wmiObjectPath, CimOperationOptions options)
at Microsoft.Virtualization.Client.Management.Server.LoadOSInfo()
at Docker.Core.Pipe.NamedPipeClient.d__5.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object parameters)
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean withNotifications)
at Docker.Actions.<>c__DisplayClass26_0.b__0()
at Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass18_0.<.ctor>b__1()l.