Docker failed to start on windows 10
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Source – github.com
Environment
OS: : Windows 10 enterprise 64 bit
Version: 1511
OS Build: 10586.633
Docker
Hyper-V has been enabled.
Expected behavior
The docker should run on windows 10
Actual behavior
See the error information below. Docker does not start.
Information
When docker starts then it throws the following exception:
Unable to start: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: ‘MobyLinuxVM’ failed to start.
‘MobyLinuxVM’ failed to initialize.
‘MobyLinuxVM’ failed to start. (Virtual machine ID ACFCAB44-73E3-4CE0-AE3F-F519BC6FF42B)
‘MobyLinuxVM’ failed to initialize. (Virtual machine ID ACFCAB44-73E3-4CE0-AE3F-F519BC6FF42B)
at Start-MobyLinuxVM, : line 287
at , : line 382
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings)
at Docker.Backend.ContainerEngine.Linux.Restart(Settings settings)
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.b__0(Object[] parameters)
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)
If we look at the hyper-V manager then we do not see any MobyLinuxVM.
I also tried:
cd ‘C:\Program Files\Docker\Docker\resources’
.\MobyLinux.ps1 -Destroy
.\MobyLinux.ps1 -Create
.\MobyLinux.ps1 -Start
This only lists the MobyLinuxVm in the hyper-V manager but the start still fails.
I have attached the logs with this ticket.
Steps to reproduce the behavior
- Enable Hyper-V and reboot.
- Install docker stable version and start.