我想更好地理解Docker世界,似乎并不能完全绕开它们之间的差异.我相信,OCF是一种新兴的容器标准,已被 OpenContainers 认可,并且相信,将Docker设置为该标准的第一个参考实现.但是即使那样,我仍然担心Google Gods似乎无法提供以下答案:
I'm trying to understand the Docker world a little better, and can't quite seem to wrap my brain around the differences between these. I believe that OCF is an emerging container standard being endorsed by OpenContainers, and I believe that Docker is set to be the first reference implementation of that standard. But even then, I have concerns that the Google Gods don't seem to be providing answers for:
- OCF标准"到底是什么?只是书面文件?书面API?编译后的C库?
- 受本标准约束的特定项目有哪些示例?我猜想在没有真正理解"容器"是什么的情况下,我很难理解什么甚至是针对容器的管理标准.
- runc和libcontainer如何/在何处适合Docker/OCF方程式?
- What exactly is the OCF "standard"? Just a written document? A written API? A compiled C lib?
- What are some examples of specific items governed by this standard? I guess without really understanding what a "container" is, its hard for me to understand what a governing standard for containers even addresses.
- How/where do runc and libcontainer fit into the Docker/OCF equation?
开放容器格式(OCF)规范是一个书面文档(或文档集),从文件系统的角度定义什么是标准容器",可用的操作和执行环境.该文档似乎已使用Go代码进行了备份.该规范目前(2015年7月)仍在开发中.
The Open Container Format (OCF) specification is a written document (or set of documents) defining what a "standard container" is, in terms of filesystem, available operations and execution environment. The document seems to be backed up with Go code. This specification is currently (July 2015) a work-in-progress.
Runc 是该标准的实现.在撰写本文时,它基本上是对 libcontainer 的重新包装.
Runc is an implementation of the standard. At the time of writing, it is basically a repackaging of libcontainer.
Docker使用libcontainer/runc,但在顶部添加了许多工具和功能,例如卷,网络和容器管理.
Docker uses libcontainer/runc, but adds a lot of tooling and features on top, such as volumes, networking and management of containers.
有关 Docker博客和更多信息, 打开容器网站.
如果您只是开始使用容器,那么我将首先从Docker开始,等您了解容器的工作原理之后再研究其他项目.
If you're just getting started with containers, I would start with Docker and look into the other projects later once you understand how containers work.
更多推荐
libcontainer vs Docker vs OCF vs runc?
发布评论