What

OCI是一個標準,訂定了container的

  • Runtime 標準 (start, exec, pause)
  • Image 標準
  • Distribution 標準

Why

The mission of the Open Container Initiative (OCI) is to promote a set of common, minimal, open standards and specifications around container technology.

OCI的出現,確保container的開發者可以專注在開發服務,不會因為

  1. client
  2. 應用端App stack
  3. Container Technology Vender
  4. CPU, hardware, OS

等等的不同,而需要使用不同的Container技術

OCI Runtime 的實作

runtime-spec/implementations.md

比較有名的是

  1. runc (go, lead by docker)
  2. crun (c, lead by Redhat)

Ref

  1. https://github.com/opencontainers
  2. https://opencontainers.org/faq/
  3. https://www.capitalone.com/tech/cloud/container-runtime/