opencontainers / runtime-tools

OCI Runtime Tools
https://www.opencontainers.org/
Apache License 2.0
425 stars 142 forks source link

Using cri-tools for testing CRI-enabled runtimes #657

Open alban opened 6 years ago

alban commented 6 years ago

Following discussion on https://github.com/opencontainers/certification/issues/36 and discussions with @crosbymichael and @caniszczyk, I am exploring if cri-tools could help to run OCI runtime tests on containerd, docker and other container engines supporting CRI.

The runtime operations in CRI (defined by the service RuntimeService) and the operations in the OCI runtime spec have some similarities:

OCI's runtime operations CRI's RuntimeService methods
state ContainerStatus
create CreateContainer
start StartContainer
kill StopContainer
delete RemoveContainer

But it does not perfectly match in the semantics and in the parameters. I will list some discrepancies below.

alban commented 6 years ago
caniszczyk commented 6 years ago

RFC @opencontainers/runtime-spec-maintainers @opencontainers/runc-maintainers @opencontainers/runtime-tools-maintainers