【发布时间】:2017-12-02 16:25:29
【问题描述】:
在 azure 虚拟机上安装 docker 时出现错误。
m/c 配置:azure vm、Windows 10 企业版、Intel 2.4 GHz、7 GB RAM、64 位操作系统、基于 x64 的处理器。 我浏览了一些博客,他们要求我在 azure vm 上启用嵌套虚拟化,如下所示。
Set-VMProcessor -VMName MobyLinuxVM -ExposeVirtualizationExtensions $true
但这也没有帮助,虚拟 m/c MobyLinuxVM 无法启动。 我已经从 Windows 功能中安装了 Hyper-V 和 Container 组件。但是错误显示“因为 Hyper-V 组件之一没有运行”,而 Hyper-V 的所有组件都在运行。 我检查了任务管理器性能选项卡,我没有看到虚拟化选项。我在 Azure VM 上安装 docker 时无法修改 BIOS 中的虚拟化设置。我也尝试禁用 Windows 防火墙,但没有帮助。 那么如何在 azure virtual m/c windows 10 企业版上运行 docker。
【问题讨论】:
-
您可以在 Azure Windows 10 企业版上安装 docker。请确保您应该首先启用 Hyper-V。虚拟化可在 DV3 和 EV3 VM 上使用。请参考azure.microsoft.com/en-us/blog/nested-virtualization-in-azure
-
我在实验室进行了测试,它在我的 Windows 10 VM 上运行良好,其 sku 为
Standard D2 v3。
标签: azure docker windows-10 hyper-v