Open alban opened 6 years ago
start
before exec'ing the command (see state). CRI's CreateContainer returns the id of the new container but the process is not running yet. At least with the dockershim CRI.runtimetest
in the container reads the config.json and checks if it matches its current configuration. If we use cri-tools to start a container with a specific ContainerConfig configuration instead of generating the config.json, runtimetest
does not know how to read the CRI ContainerConfig. So, runtimetest
would need to be rewritten for a lot of tests.RFC @opencontainers/runtime-spec-maintainers @opencontainers/runc-maintainers @opencontainers/runtime-tools-maintainers
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:
But it does not perfectly match in the semantics and in the parameters. I will list some discrepancies below.