When using this config.json: ``` "ociVersion": "invalid", ``` runc does not error out. The [spec about ociVersion](https://github.com/opencontainers/runtime-spec/blob/v1.0.0/config.md#specification-version) says it is REQUIRED and MUST be SemVer v2.0.0. The spec [also says](https://github.com/opencontainers/runtime-spec/blob/v1.0.0/config.md#valid-values) it must generate an error with invalid values. This was detected by validation test [misc_props](https://github.com/opencontainers/runtime-tools/blob/06591d3/validation/misc_props/misc_props.go#L51) in runtime-tools, added in https://github.com/opencontainers/runtime-tools/pull/586#issuecomment-369244844.
Activity
kolyshkin commentedon Oct 8, 2026
This is still a valid bug. Perhaps add a note to spec-conformance for now?
docs/spec-conformance.md: document lack of ociVersion validation
docs/spec-conformance.md: document lack of ociVersion validation
docs/spec-conformance.md: document lack of ociVersion validation