diff --git a/schema/config-linux.json b/schema/config-linux.json index d51e5b5dd..b3785221b 100644 --- a/schema/config-linux.json +++ b/schema/config-linux.json @@ -227,7 +227,7 @@ }, "rootfsPropagation": { "id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation", - "type": "string" + "$ref": "defs-linux.json#/definitions/RootfsPropagation" }, "seccomp": { "id": "https://opencontainers.org/schema/bundle/linux/seccomp", diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 094037654..39d02a09f 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -1,5 +1,14 @@ { "definitions": { + "RootfsPropagation": { + "type": "string", + "enum": [ + "private", + "shared", + "slave", + "unbindable" + ] + }, "SeccompArch": { "type": "string", "enum": [