libcontainer vs Docker vs OCF vs runc?

前端 未结 2 441
野的像风
野的像风 2021-02-07 13:18

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 emergi

相关标签:
2条回答
  • 2021-02-07 13:49

    Just in case anyone accidentally finds comes across this old thread like I just did: this specification is no longer called OCF, it is now known as the "Open Container Initiative Runtime Specification", the link above still works though it now sends you to https://github.com/opencontainers/runtime-spec. There is a different OCF spec around (Open Connectivity Foundation).

    0 讨论(0)
  • 2021-02-07 14:01

    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 is an implementation of the standard. At the time of writing, it is basically a repackaging of libcontainer.

    Docker uses libcontainer/runc, but adds a lot of tooling and features on top, such as volumes, networking and management of containers.

    There is more information on the Docker blog and Open Containers site.

    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.

    0 讨论(0)
提交回复
热议问题