我可以在非VT-X机器(不使用虚拟机)上直接运行Docker吗? [英] Can I run Docker directly on a non VT-X machine (no Virtual Machine used)?

查看:369
本文介绍了我可以在非VT-X机器(不使用虚拟机)上直接运行Docker吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在具有80546k Xeon Irwindale CPU的服务器上使用Docker。这些CPU是64位的,但不支持Intel VT-X虚拟化。 VirtualBox将无法在此计算机上运行。
我打算直接在硬件上安装Linux(无VM层),并使用Docker虚拟化应用程序。这可能吗?我发现了很多有关Docker和VT-x的讨论,但是除了Docker之外,所有讨论都涉及VirtualBox等虚拟机。

I would like to use Docker on servers with 80546k Xeon Irwindale CPUs. These CPUs are 64bit but don't support Intel VT-X virtualization. VirtualBox won't run on this machine. I'm planning to install Linux directly on the hardware (No VM layer) and use Docker to virtualize applications. Is this possible? I found a lot of discussions about Docker and VT-x, but all of them concern a Virtual Machine such as VirtualBox besides Docker.

谢谢,
艾伦

推荐答案

如果计划在Linux机器上运行docker,您的答案是肯定的,您可以在不需要VT-x或类似技术的情况下在您的处理器中运行docker,因为Docker仅要求cgroups在内核上可用才能使其大多数功能正常工作,但是,如果您需要在Mac OSX或Windows中运行docker,则需要安装virtualbox才能运行boot2docker,但这并不意味着您需要在处理器中使用VT-x,但是您可能会注意到一些性能损失。

If you are planning to run docker in a linux machine your answer is yes, you can run docker without the need of VT-x or similar technologies in your processor, since Docker only required cgroups to be available on kernel to get the majority of its features working, but if you need to run docker in a Mac OSX or Windows, you will need to install virtualbox to run boot2docker, but it also doesn't mean that you need to have VT-x available in your processor, however you will may notice some performance loss.

对于Windows,有计划让docker在没有任何虚拟化的情况下在那里工作,但我相信我们将在Windows Server的下一个主要更新中使用它(自从没有Windows未来版本的计划,只有更新)。

For Windows there's a plan to get docker working there without any virtualization at all, but I believe we will have it on next major update of Windows Server (since there's no plans for future versions of Windows, only updates).

这篇关于我可以在非VT-X机器(不使用虚拟机)上直接运行Docker吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆