diff --git a/config-linux.md b/config-linux.md index 7adadba62..7647cbc1a 100644 --- a/config-linux.md +++ b/config-linux.md @@ -642,6 +642,7 @@ The values MUST be absolute paths in the [container namespace](glossary.md#conta ## Mount Label **`mountLabel`** (string, OPTIONAL) will set the Selinux context for the mounts in the container. + The value MUST NOT be an empty string. ### Example diff --git a/schema/config-linux.json b/schema/config-linux.json index dd5bac013..1dc8c23db 100644 --- a/schema/config-linux.json +++ b/schema/config-linux.json @@ -264,7 +264,8 @@ }, "mountLabel": { "id": "https://opencontainers.org/schema/bundle/linux/mountLabel", - "type": "string" + "type": "string", + "minLength": 1 } } }