如何在 Windows 10 azure 虚拟机中使用 virtualbox

How to use virtualbox in a Windows 10 azure virtual machine

我一直在阅读它,但我不知道是否可以这样做。

我想在我在 azure 中创建的另一个虚拟机中创建一个 Virtualbox 虚拟机,但我没有激活 Hyper-V。

我的虚拟机没有 BIOS 来访问和启用它,而且我了解到并非 azure 中的所有虚拟机都允许嵌套虚拟化。

我现在拥有的虚拟机是B1ms标准,我读到的是我需要一台V3机器来虚拟化Azure里面的虚拟机。真的吗?我不想花钱只是创造它然后却无法做到。

谢谢:)

这可以在 Azure 中使用 Nested virtualization 来完成。是的,您没听错,并非 Azure 中的所有 Azure 虚拟机都允许这样做,您需要 V3 VM。确保选择的 VM 大小足以支持来宾虚拟机的需求。 对于成本核算,您可以创建一个 trial Azure account that would give you a credit of 0. Or if you have got a Visual studio Pro or Enterprise license, you are eligible for free monthly credits 来探索 Azure。

尽管您可以使用 Nested Virtualization it might be better to just convert your VirtualBox images to Azure VHDs。这个比较简单:

vboxmanage clonehd SOMETHING.vdi SOMETHING.vhd --format VHD

之后,您可以使用 Azure 存储资源管理器(或 CLI)上传 VHD,并使用它在 Azure 上部署本机虚拟机。