当我用Window Server安装Docker时,我遇到了一些问题。
环境清单:
1台Windows 10 (物理机器) 2.VMware Workstation Player (12~以上) URL 3. VM的Windows Server 2016 4.Docker CE for Windows(稳定) URL
问题图片和内容

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.
Failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running.
'MobyLinuxVM' failed to start. (Virtual machine ID BBD755F7-05B6-4933-B1E0-F8ACA3D2467B)
The Virtual Machine Management Service failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running (Virtual machine ID BBD755F7-05B6-4933-B1E0-F8ACA3D2467B).
at Start-MobyLinuxVM, <No file>: line 315
at <ScriptBlock>, <No file>: line 410
at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 256
at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 130
at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>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我该怎么解决这个问题,谢谢。
发布于 2018-01-15 09:57:31
发布于 2018-04-30 11:51:59
下面是一个解决方案,如果您在安装了Docker的Azure Windows 10 VM上获得此错误,这已经是嵌套虚拟化能力VM,换句话说,您的Azure VM必须是大小作为最小值(DV3或EV3):
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -Verbose
Enable-WindowsOptionalFeature -Online -FeatureName Containers -All -Verbose
bcdedit /set hypervisorlaunchtype Auto
在运行上述所有内容并重新启动Azure VM之后,Docker应该正常启动。
除了上面的答案之外,PowerShell cmdlet设置的虚拟机是:
Set-VMProcessor -VMName <Enter-VM-Name> -ExposeVirtualizationExtensions $true -Verbose
仍然有问题,但尚未重新启动?!-只需通过运行以下命令重新启动windows服务:
net stop vmms
net start vmms发布于 2018-03-20 17:46:46
如果这可以帮助其他人解决这个问题,我发现在管理命令提示符下运行这些命令可以解决我的Hyper-V问题:
net stop vmms
net start vmms然后,我能够启动我的码头集装箱,没有问题。
https://stackoverflow.com/questions/48255871
复制相似问题