1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 09:45:57 +01:00
Files
runtime-spec/schema/features-linux.json

117 lines
3.6 KiB
JSON
Raw Normal View History

{
"linux": {
"description": "Linux platform-specific features",
"type": "object",
"properties": {
"namespaces": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/NamespaceType"
}
},
"capabilities": {
"type": "array",
"items": {
"type": "string",
"pattern": "^CAP_[A-Z_]+$"
}
},
"cgroup": {
"type": "object",
"properties": {
"v1": {
"type": "boolean"
},
"v2": {
"type": "boolean"
},
"systemd": {
"type": "boolean"
},
"systemdUser": {
"type": "boolean"
},
"rdma": {
"type": "boolean"
}
}
},
"seccomp": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"actions": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/SeccompAction"
}
},
"operators": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/SeccompOperators"
}
},
"archs": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/SeccompArch"
}
},
"knownFlags": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/SeccompFlag"
}
},
"supportedFlags": {
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/SeccompFlag"
}
}
}
},
"apparmor": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"selinux": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"intelRdt": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
},
"mountExtensions": {
"type": "object",
"properties": {
"idmap": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
}
}
}
}
}
}
}