docker与openshift相比如何? [英] How does docker compare to openshift?

查看:772
本文介绍了docker与openshift相比如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Docker OpenShift 都是实现PaaS服务的框架.

Docker and OpenShift are both frameworks to implement a PaaS service.

它们如何在体系结构和功能上进行比较?

How do they compare in architecture and features?

推荐答案

主要区别在于,作为项目的Docker仅专注于运行时容器,而OpenShift(作为系统)既包括运行时容器也包括运行时容器. REST API,协调和Web界面,用于部署和管理单个容器.

The primary difference is that Docker as a project is focused on the runtime container only, whereas OpenShift (as a system) includes both the runtime container as well as the REST API, coordination, and web interfaces to deploy and manage individual containers.

仅比较运行时容器,OpenShift和Docker都使用内核隔离功能将租户进程分开.对于主要通过LXC的Docker和主要通过SELinux和多类别安全性(MCS)的OpenShift而言.两者都使用cgroup限制租户的CPU,内存和IO.上游OpenShift正在研究LXC,以减少长期工作.

Comparing just the runtime containers, OpenShift and Docker both use kernel isolation features to keep tenant processes separate. For Docker that is primarily through LXC and for OpenShift that is largely through SELinux and Multiple Category Security (MCS). Both use cgroups to limit the CPU, memory, and IO of tenants. Upstream OpenShift is looking at LXC to reduce long term effort.

Docker使用AUFS进行高级磁盘和写时文件复制共享,OpenShift既不需要也不与这种系统不兼容.

Docker uses AUFS for advanced disk and file copy-on-write sharing, OpenShift neither requires nor is incompatible with such a system.

在容器内部,OpenShift通过盒"对功能单元(Web服务器,数据库)建模,盒是在调用系统时调用的一组Shell脚本挂钩. 此处描述了该API.墨盒大致类似于docker映像.

Inside the container, OpenShift models units of functionality (web servers, dbs) via "cartridges", which are a set of shell script hooks that are called when the system is invoked. The API is described here. A cartridge is roughly similar to a docker image.

Openshift还描述了代理(协调器)与节点(托管多个租户容器的服务器)进行通信以调用该容器中的端点的API.

Openshift also describes the API by which a broker (coordinator) communicates with nodes (servers that host multiple tenant containers) to invoke endpoints in that container.

已截至2015年6月,OpenShift Origin 1.0在Docker和Kubernetes之上运行,您可以构建和开发在Docker运行时上运行的多容器应用程序. OpenShift在Kube和Docker之上添加了构建,图像工作流和升级,以及安全的容器集群操作

EDITED TO ADD: As of June 2015, OpenShift Origin 1.0 runs on top of Docker and Kubernetes, and you can build and develop multi container apps that run on the Docker runtime. OpenShift adds build, image workflow and promotion, and secure container cluster operations on top of Kube and Docker

这篇关于docker与openshift相比如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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