CRI
: container runtime interface
, 一组grpc-interface
,包括RuntimeService
(管理Pod和容器的生命周期)和ImageService
(管理镜像的生命周期)
OCI
: Open container initative
,描述image
管理、container
管理、run container
的标准
我们平时讨论到的runtime
很多时候都是在指OCI
runtime1
根据是否实现了对`image`的管理、传输、解压等等API来区分`runtime`
Low-Runtime
通过设置cgroup
和namespace
来run container
Runc
lxc
lmctfy
High-Runtime
docker
containerd
shim
包括crishim和runtime-shim,主要目的是为了解耦