lxc / lxcri

CRI-O support for lxc
Apache License 2.0
61 stars 18 forks source link

cri-o OCI runtime interface needs clarification #36

Open r10r opened 3 years ago

r10r commented 3 years ago

Clarify what runtime version / cmdline interface is actually used by cri-o. There are two OCI runtime specifications.

Runtime and Lifecycle

This is the simple version, which actually defines the 'kill' command interface used by cri-o.

OCI Runtime Command Line Interface

https://github.com/opencontainers/runtime-tools/blob/master/docs/command-line-interface.md

This is a the more complex interface, and it has not been changed since April/2008. Some flags are defined in the original version of crio-lxc but never used by cri-o. E.g. the 'kill' command defines the signal for 'kill' as flag '--signal' not as cmdline argument.

r10r commented 3 years ago

For the delete cmd crio uses the --force flag which is not defined in any of the above mentioned specs.