Linux Windows 服务器 运行 上的容器作为 Azure 虚拟机

Linux Container on Windows Server Running as Azure Virtual Machine

我是容器新手。目前,我有一个 Windows Server 2016 运行 作为 Azure 虚拟机的实例。是否仍然无法在其上设置 Linux 容器?

我知道 Azure VM 的实例已经是一种 Hyper-V 实例,因此在其上创建虚拟机是不可行的。

然后,最近 Microsoft announced Windows Server 2016 将很快获得本机 Linux 容器支持。但是,似乎该功能是通过 Hyper-V 容器隔离启用的,所以我认为将来在服务器上添加一个 Linux 容器仍然是不可能的。

我的理解是否正确,如果正确,这个新功能的实际优点是什么?

I know that instances of Azure VM are already a kind of Hyper-V instance so that creating a virtual machine on them is not feasible.

目前,我们无法测试 Azure VM 中的新功能。但在我看来,我同意你的看法, 因为我们无法在 Azure VM 上安装 Hyper-V(默认情况下)。

我认为我们应该等待一段时间,然后在 Azure VM 中测试新功能。

However, it seems that the feature is enabled with Hyper-V Container isolation

这是正确的。本机 Linux 容器支持建立在 Hyper-V 隔离之上,这取决于启用的 Hyper-V。从历史上看,"nested virtualization" 在 Azure VM 中是不可能的。

但是,Azure 将在 the upcoming Dv3 and Ev3 VMs. This should allow Hyper-V Containers to run within these VM families. Corey Sanders has a quick video 演示中启用嵌套虚拟化(和超线程)。