Hello, Rancher folks,
An image compatibility working group is being proposed in Open Container Initiative(OCI):
https://github.com/opencontainers/tob/pull/128/files
OKD, NVIDIA etc are stakeholders for this WG. Rancher is kindly invited to join the WG.
In mission-critical industries, container applications usually have some special requirements(huge pages, SRIOV, kernel configuration etc) to the host OS. These are usually described in the release notes or installation guides. We believe we have identified the missing puzzle in the OCI standard. For example, if the container requires an NVIDIA GPU, you must ensure that the version of the CUDA library inside the container is compatible with the version of the driver used by the host operating system. There are more legitimate use cases when it comes to kernel modules, configuration, boot options, or out-of-tree drivers. All these requirements can be described in the image compatibility that we plan to work on.
An image compatibility would help container image authors describe compatibility requirements in a standard way. The specification will be uploaded with the image to the image registry. This makes hard container compatibility requirements discoverable, programmable, and will support different consumers and cover use cases where the application requires a specific compatible environment.
Comment on the PR if needed:
https://github.com/opencontainers/tob/pull/128/