首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >此计算机未启用VT-X/AMD-v

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

Stack Overflow用户
提问于 2019-07-28 20:54:07
回答 2查看 4.9K关注 0票数 3

当我试图通过Kitematic创建一个默认机器时,我总是收到相同的错误信息。它告诉我“这台计算机没有启用VT-X/AMD-v”,即使任务管理器告诉我虚拟化已经开启。有什么想法可以解决这个问题吗?

代码语言:javascript
复制
Command failed: C:\Program Files\Docker Toolbox\docker-machine.exe -D create -d virtualbox --virtualbox-memory 2048 default,Docker Machine Version: 0.16.1, build cce350d7,Found binary path at C:\Program Files\Docker Toolbox\docker-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 Files\Docker Toolbox\docker-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:\Users\Alex Wieland\.docker\machine\certs\ca.pem,Decoding PEM data...,Parsing certificate...,Reading certificate data from C:\Users\Alex Wieland\.docker\machine\certs\cert.pem,Decoding PEM data...,Parsing certificate...,(default) Calling .PreCreateCheck,(default) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.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:\Users\Alex Wieland\.docker\machine\machines\default\default\Logs\VBox.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"],
EN

回答 2

Stack Overflow用户

发布于 2019-07-28 21:05:27

确保您禁用了HyperV,as in here

docker/machine issue 4271中所示

AMD V依赖硬件虚拟化支持(例如

VT-x和AMD-V)来运行虚拟机。通常,一旦安装了Hyper-V,虚拟机管理程序就会对来宾虚拟机隐藏此功能,从而阻止来宾虚拟机安装Hyper-V (以及许多其他虚拟机管理程序)。

由于您的命令行使用的是VirtualBox,因此不能同时激活HyperV和VirtualBox (尽管是you can switch from one to the other)。

票数 3
EN

Stack Overflow用户

发布于 2019-12-05 22:15:50

我用下面的命令修复了它:

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

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57241098

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档