2

我想在禁用 VT-x(并且无法启用)的机器上使用 Docker。这可能吗?

我在 Windows 7 x64 上使用Boot2Docker,那里没有提到要求,也没有在Docker 说明中提到。

我从 Boot2Docker 开始得到这个输出:

Welcome to Git (version 1.9.0-preview20140217)


Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
initialising...
2014/06/20 08:43:04 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2014/06/20 08:43:05 Virtual machine boot2docker-vm already exists
starting...
2014/06/20 08:43:05 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2014/06/20 08:43:05 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm boot2docker-vm --type headless
Waiting for VM "boot2docker-vm" to power on...
VBoxManage.exe: error: VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component Console, interface IConsole
2014/06/20 08:43:06 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machinereadable
2014/06/20 08:43:06 Failed to start machine "boot2docker-vm" (run again with -v for details)
connecting...
2014/06/20 08:43:06 Failed to get machine "boot2docker-vm": exit status 1

是否有可能,或者是否有可以使其工作的 VirtualBox 设置的解决方法?

4

2 回答 2

2

您可以在 github 上填写错误报告:https ://github.com/boot2docker/windows-installer 。boot2docker 不需要 VT-x。

同时,您可以切换到任何其他操作系统,例如 CoreOS(轻量级,已安装 docker)或原始 ubuntu,然后安装 docker。

你不妨看看 Vagrant。CoreOS 提供了 vagrantfiles,它就像vagrant up生成一个启用了 docker 的 VM 一样简单。

于 2014-06-20T12:08:08.483 回答
0

不,这是不可能的。我在使用 Q8200 core 2 duo 时遇到了类似的情况。不支持 VT-x,这意味着没有 64 位虚拟机。哪个堆栈无关紧要。

于 2015-05-01T23:09:49.067 回答