[英]Linux Container on Windows Server Running as Azure Virtual Machine
I'm new to containers. 我是新来的容器。 Currently, I have an instance of Windows Server 2016 running as Azure Virtual Machine. 当前,我有一个Windows Server 2016实例作为Azure虚拟机运行。 Is it or will it still be impossible to set up a Linux Container on it? 是还是在上面仍然无法设置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实例已经是一种Hyper-V实例,因此在它们上创建虚拟机是不可行的。
Then, recently Microsoft announced Windows Server 2016 will soon get native Linux Container support. 然后, 微软最近宣布 Windows Server 2016将很快获得本机Linux容器支持。 However, it seems that the feature is enabled with Hyper-V Container isolation, so I think adding a Linux Container to the server will be still impossible in future. 但是,似乎该功能已通过Hyper-V容器隔离启用,因此我认为将来仍然无法在服务器中添加Linux容器。
Is my understanding correct, and if correct, what will be practical merits of this new function? 我的理解正确吗?如果正确,那么此新功能的实际优点是什么?
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实例已经是一种Hyper-V实例,因此在它们上创建虚拟机是不可行的。
For now, we can't test the new feature in Azure VM. 目前,我们无法在Azure VM中测试新功能。 But in my opinion, I agree with you, because we can't install Hyper-V on Azure VM (by default). 但我认为,我同意您的看法,因为我们无法在Azure VM上安装Hyper-V(默认情况下)。
I think we should wait for some time, then test the new feature in Azure VM. 我认为我们应该等待一段时间,然后在Azure VM中测试新功能。
However, it seems that the feature is enabled with Hyper-V Container isolation 但是,似乎该功能已通过Hyper-V容器隔离启用
This is correct. 这是对的。 Native Linux Container support is built on Hyper-V Isolation, which is dependent on Hyper-V being enabled. 本机Linux容器支持建立在Hyper-V隔离的基础上,该隔离取决于是否启用Hyper-V。 Historically, "nested virtualization" hasn't been possible within Azure VMs. 过去,Azure VM不可能进行“嵌套虚拟化”。
However, Azure will enable nested virtualization (and hyperthreading) in the upcoming Dv3 and Ev3 VMs . 但是,Azure将在即将到来的Dv3和Ev3 VM中启用嵌套虚拟化(和超线程)。 This should allow Hyper-V Containers to run within these VM families. 这应该允许Hyper-V容器在这些VM系列中运行。 Corey Sanders has a quick video showing a demo. 科里·桑德斯(Corey Sanders)提供了一个演示演示的快速视频 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.