Aishwarya
Aishwarya

Reputation: 110

Docker for windows 10

I tried installing Docker for Windows 10. Here's the error that I get:

Unable to stop: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'Hyper-V' was not loaded because no valid module file was found in any module directory. at , : line 79 at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 177 at Docker.Backend.ContainerEngine.Linux.DoStop() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 280 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 122 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Any inputs on how to fix this error?

Upvotes: 0

Views: 1494

Answers (1)

themefield
themefield

Reputation: 4265

Check if the host is Windows 10 Home edition. If it is, go download and install Docker Toolbox for Windows, which includes up-to-date Docker and some environment components. Follow the manual to ensure it works.

Docker for Windows relies on native Hyper-V to create virtual machine. But Win 10 Home edition does not have it. Usually Docker installer reports this issue at installation. Such environment detection could be done at earlier stage of installation, instead of an error at launch.

Upvotes: 3

Related Questions