Windows 中 VT-x 上 运行 Docker 的任何方法?

Any way to run Docker on VT-x in Windows?

我不能同时使用 Hyper-V 和 VT-x,我需要我的 Virtualbox VM 才能为其他项目工作。有没有办法在 VT-x 上 运行 Docker 或者这只是不受支持?

Docker for Windows requires Microsoft Hyper-V to run. The Docker for Windows installer enables Hyper-V for you, if needed, and restarts your machine. After Hyper-V is enabled, VirtualBox no longer works, but any VirtualBox VM images remain. VirtualBox VMs created with docker-machine (including the default one typically created during Toolbox install) no longer start. These VMs cannot be used side-by-side with Docker for Windows. However, you can still use docker-machine to manage remote VMs.

https://docs.docker.com/docker-for-windows/install/#what-to-know-before-you-install

如果您需要同时使用 Hyper-V 和 VirtualBox,那么您可以通过禁用 Hyper-V 添加另一个启动项并通过重新启动来回切换。

不是最好的,但它可以工作,只要确保备份(第一个导出命令)。

bcdedit /export filepath\filename
bcdedit /copy {current} /d "Windows 10 No Hyper-V"
bcdedit /set {replace this with guid from previous copy} hypervisorlaunchtype off

更详细的例子:

https://mehraban.com.au/2018/04/13/switching-between-virtualbox-and-hyper-v/

https://www.hanselman.com/blog/SwitchEasilyBetweenVirtualBoxAndHyperVWithABCDEditBootEntryInWindows81.aspx