Does containerd actually support OCI Runtime Specification? #8745
-
But I am under the impression is that you cannot take a random runtime that implements OCI runtime spec, feed it into containerd and be happy. Instead, you would need to write a containerd shim what would talk to containerd via custom protocol. Am I wrong and containerd does support OCI runtime specification or containerd documentation is misleading? If OCI runtime specification is in fact not supported, what are the plans about supporting it? Maybe an open issue that can be tracked? Unfortunately, it is almost impossible to search issues for |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
OCI does not define any means of talking to an oci runtime. There is runc, and you can configure containerd to use any runc-compatible binary. The purpose of shims is to wire up containers to a runtime which is expected to know how to execute an OCI bundle. |
Beta Was this translation helpful? Give feedback.
-
containerd supports all of the OCI specifications and the opencontainers/runc runtime cli api.. together these specifications and runc resolve to OCI support.
The runtime specification does not provide a specific cli/api the operations and discussion in the runtime spec are more a logical lifecycle spec discussion than an actual api. The API for the runc compatible runtime engines is owned by the runc project. That OCI decision was made early on.
You can build containerd for multiple platforms, not just linux. |
Beta Was this translation helpful? Give feedback.
OCI does not define any means of talking to an oci runtime.
There is runc, and you can configure containerd to use any runc-compatible binary.
The purpose of shims is to wire up containers to a runtime which is expected to know how to execute an OCI bundle.