此计算机未启用 VT-X/AMD-V



当我尝试通过Kitematic创建默认机器时,我总是收到相同的错误消息。它告诉我"这台计算机没有启用 VT-X/AMD-V",即使任务管理器向我显示虚拟化已打开。任何想法如何解决此问题?

Command failed: C:Program FilesDocker Toolboxdocker-machine.exe -D create -d virtualbox --virtualbox-memory 2048 default,Docker Machine Version: 0.16.1, build cce350d7,Found binary path at C:Program FilesDocker Toolboxdocker-machine.exe,Launching plugin server for driver virtualbox,Plugin server listening at address 127.0.0.1:50871,() Calling .GetVersion,Using API Version 1,() Calling .SetConfigRaw,() Calling .GetMachineName,(flag-lookup) Calling .GetMachineName,(flag-lookup) Calling .DriverName,(flag-lookup) Calling .GetCreateFlags,Found binary path at C:Program FilesDocker Toolboxdocker-machine.exe,Launching plugin server for driver virtualbox,Plugin server listening at address 127.0.0.1:50873,() Calling .GetVersion,Using API Version 1,() Calling .SetConfigRaw,() Calling .GetMachineName,(default) Calling .GetMachineName,(default) Calling .DriverName,(default) Calling .GetCreateFlags,(default) Calling .SetConfigFromFlags,Reading certificate data from C:UsersAlex Wieland.dockermachinecertsca.pem,Decoding PEM data...,Parsing certificate...,Reading certificate data from C:UsersAlex Wieland.dockermachinecertscert.pem,Decoding PEM data...,Parsing certificate...,(default) Calling .PreCreateCheck,(default) DBG | COMMAND: C:Program FilesOracleVirtualBoxVBoxManage.exe --version,(default) DBG | STDOUT:,(default) DBG | {,(default) DBG | 6.0.10r132072,(default) DBG | },(default) DBG | STDERR:,(default) DBG | {,(default) DBG | },(default) DBG | Hyper-V is not installed.,Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory",open C:UsersAlex Wieland.dockermachinemachinesdefaultdefaultLogsVBox.log: The system cannot find the path specified.,notifying bugsnag: [Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"],

我用以下命令修复了它:

docker-machine create default --virtualbox-no-vtx-check

确保您禁用了HyperV,如下所示:

docker/machine问题 4271 所示

Hyper-V 依靠硬件虚拟化支持(例如英特尔 VT-x 和 AMD-V(来运行虚拟机。通常,安装 Hyper-V 后,虚拟机监控程序会对来宾虚拟机隐藏此功能,从而阻止来宾虚拟机安装 Hyper-V(以及许多其他虚拟机监控程序(。

由于您的命令行使用的是VirtualBox,因此您不能同时激活HyperV和VirtualBox(尽管您可以从一个切换到另一个(。

相关内容

  • 没有找到相关文章

最新更新