我正在将docker用于Windows。还有virtualbox来虚拟化几个服务器。遇到有关硬件虚拟化和数据执行的冲突,不知道如何解决! Virtualbox需要禁用hyper-v(我认为它是hyper-v)。码头工人需要禁用它。因此出现了冲突。如何使两者都能正常工作?
Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
答案 0 :(得分:0)
我遇到了同样的问题... 我在 Windows [程序和功能] 中禁用了 Hyper-V,但是我无法运行虚拟机,至少 docker 工作正常。 之后,当我需要我的虚拟机时,我会停止 docker 并重新启用 Hyper-V。
您可以使用脚本关闭:
bcdedit /set hypervisorlaunchtype off
然后重新开启
bcdedit /set hypervisorlaunchtype auto