Error while starting Docker

I have installed Docker 2.2.0.5 on Windows 10, and when I try to launch it, I get error as:

Docker.Core.DockerException:
Docker.Core.Backend.BackendDestroyException:
Unable to create Hyper-V VM: Hyper-V encountered an error trying to access an object on computer ‘xxxxx’ because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
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: Hyper-V encountered an error trying to access an object on computer ‘xxxxx’ because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
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, Dictionary2 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: Hyper-V encountered an error trying to access an object on computer 'xxxxx' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running. Microsoft.Virtualization.Client.Management.ServerObjectDeletedException: Hyper-V encountered an error trying to access an object on computer 'xxxxx' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running. 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](Func2 function, TInput input, IOperationWatcher operationWatcher)
Microsoft.Management.Infrastructure.CimException:
Not found
at Microsoft.Management.Infrastructure.Internal.Operations.CimSyncEnumeratorBase1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
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()

What is the cause here? I verified that Hyper-V is activated.