简体   繁体   English

关于Mesos Linux容器和Docker的问题

[英]Questions about Mesos Linux container and Docker

  1. The Apache Mesos page describes that Mesos enables task isolation through "Linux Containers". Apache Mesos页面描述了Mesos通过“Linux Containers”实现任务隔离。 What container technology is this, LxC? 这是什么容器技术,LxC?

  2. Does "native Docker support" mean that the above container technology can we swapped to Docker? “原生Docker支持”是否意味着我们可以将上述容器技术交换到Docker? What does it mean when Mesos states that Docker can be used either as an Executor or a Task? Mesos声称Docker既可以用作执行者,也可以用作任务,这意味着什么? If Docker is used as an Executor, doesn't it mean that there should be a "Docker Framework" somewhere? 如果将Docker用作Executor,是不是意味着某处应该有“Docker Framework”?

Actually mesos supports several containerizer: 实际上mesos支持几个容器:

  1. Docker (see http://mesos.apache.org/documentation/latest/docker-containerizer/ ) Docker(请参阅http://mesos.apache.org/documentation/latest/docker-containerizer/
  2. Mesos Containerizer (default) Mesos Containerizer(默认)
  3. Custom External Containerizer (see http://mesos.apache.org/documentation/latest/external-containerizer/ ) 自定义外部容器(请参阅http://mesos.apache.org/documentation/latest/external-containerizer/

Native docker support in my understanding refers to the support for many of the docker specific options (see for example the configuration options here: http://mesos.apache.org/documentation/latest/configuration/ ) 我理解的原生docker支持指的是对许多docker特定选项的支持(参见例如这里的配置选项: http//mesos.apache.org/documentation/latest/configuration/

Short Update: Please note that option 3 (external containerizer) is deprecated. 简短更新:请注意,不推荐使用选项3(外部容器)。

Know what a Virtual Machine (like VMWare or Virtual PC) is? 知道什么是虚拟机(如VMWare或Virtual PC)? Docker is something like a much more 'lightweight' virtual machine (of course more superior, but let's keep it simple here). Docker就像一个更“轻量级”的虚拟机(当然更优越,但让我们在这里保持简单)。 Further information can be found here http://en.wikipedia.org/wiki/Docker_%28software%29 and here https://www.docker.com/ . 更多信息可以在http://en.wikipedia.org/wiki/Docker_%28software%29https://www.docker.com/找到

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM