[英]Docker Failed to start on Windows 10 Enterprise VM
I am trying to install Docker Desktop in windows 10 Enterprise VM.我正在尝试在 windows 10 Enterprise VM 中安装 Docker 桌面。 Also.I have enabled Hyper-V.
Also.I 已启用 Hyper-V。 I have gone through many articles but couldn't fix it.
我浏览了很多文章,但无法修复它。 Please if anyone can help me on below error:
请如果有人可以帮助我解决以下错误:
Below are VM Details:以下是虚拟机详细信息:
Windows 10 Enterprise RAM: 4 GB System Type: 64-bit OS, x64 based processor Windows 10 Enterprise RAM:4 GB 系统类型:64 位操作系统,基于 x64 的处理器
Docker version: 2.2.0.5. Docker 版本:2.2.0.5。
virtualization is enabled still I face same issue.启用虚拟化仍然我面临同样的问题。 Enabled 'Use Intel VT-x/AMD-V for instruction set virtualization...'.
启用“使用 Intel VT-x/AMD-V 进行指令集虚拟化...”。
[Error ] Unable to start Hyper-V VM: Microsoft.HyperV.PowerShell.VirtualizationException: 'DockerDesktopVM' failed to start. [错误] 无法启动 Hyper-V VM:Microsoft.HyperV.PowerShell.VirtualizationException:“DockerDesktopVM”无法启动。
Failed to start the virtual machine 'DockerDesktopVM' because one of the Hyper-V components is not running.无法启动虚拟机“DockerDesktopVM”,因为其中一个 Hyper-V 组件未运行。
'DockerDesktopVM' failed to start. “DockerDesktopVM”无法启动。 (Virtual machine ID 109C9013-5F42-4EF4-A80C-AE69E1372AFC)
(虚拟机ID 109C9013-5F42-4EF4-A80C-AE69E1372AFC)
The Virtual Machine Management Service failed to start the virtual machine 'DockerDesktopVM' because one of the Hyper-V components is not running (Virtual machine ID 109C9013-5F42-4EF4-A80C-AE69E1372AFC).虚拟机管理服务无法启动虚拟机“DockerDesktopVM”,因为其中一个 Hyper-V 组件未运行(虚拟机 ID 109C9013-5F42-4EF4-A80C-AE69E1372AFC)。 ---> Microsoft.Virtualization.Client.Management.VirtualizationOperationFailedException: 'DockerDesktopVM' failed to start.
---> Microsoft.Virtualization.Client.Management.VirtualizationOperationFailedException:“DockerDesktopVM”无法启动。
It seems that you try to get nested virtualization running.您似乎试图让嵌套虚拟化运行。 In case of Hyper-V in Hyper-V you need to enable that using
在 Hyper-V 中的 Hyper-V 的情况下,您需要使用
Set-VMProcessor -VMName DockerDesktopVM -ExposeVirtualizationExtensions $true
Not sure if even then you need to have some Intel CPU.不确定即使那样你是否需要一些英特尔 CPU。 Its possible, that that has changed .
有可能,那已经改变了。
Docker on Windows needs an additional virtualization layer to your virtualized windows. Windows 上的 Docker 需要一个额外的虚拟化层到您的虚拟化 windows。 That is not enabled by default.
默认情况下未启用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.