Youki · JSON Structure

Oci Runtime Features Linux Structure

Type: Properties: 0
ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes

OciRuntimeFeaturesLinux is a JSON Structure definition published by Youki. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

oci-runtime-features-linux-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/youki/refs/heads/main/json-structure/oci-runtime-features-linux-structure.json",
  "name": "OciRuntimeFeaturesLinux",
  "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"
              }
            }
          }
        }
      },
      "netDevices": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      }
    }
  }
}