diff --git a/docs/spec-conformance.md b/docs/spec-conformance.md index 294adfee4..8cde59f82 100644 --- a/docs/spec-conformance.md +++ b/docs/spec-conformance.md @@ -3,6 +3,19 @@ This branch of runc implements the [OCI Runtime Spec v1.3.0](https://github.com/opencontainers/runtime-spec/tree/v1.3.0) for the `linux` platform. +## Deviations + +runc deviates from the spec in the following ways: + +* [`ociVersion`](https://github.com/opencontainers/runtime-spec/blob/v1.3.0/config.md#specification-version) + is not validated: runc does not generate an error if it is missing, empty, not + in SemVer format, or specifies a version not supported by runc (e.g. with a + different major version). +* If [`umask`](https://github.com/opencontainers/runtime-spec/blob/v1.3.0/config.md#user) + is not specified, the umask of the container init process is set to `0022`, + rather than left unchanged from the calling process' umask. For `runc exec`, + the umask is left unchanged. + ## Architectures The following architectures are supported: