...

Text file src/github.com/opencontainers/runtime-spec/schema/config-vm.json

Documentation: github.com/opencontainers/runtime-spec/schema

     1{
     2    "vm": {
     3        "description": "configuration for virtual-machine-based containers",
     4        "type": "object",
     5        "required": [
     6            "kernel"
     7        ],
     8        "properties": {
     9            "hypervisor": {
    10                "description": "hypervisor config used by VM-based containers",
    11                "type": "object",
    12                "required": [
    13                    "path"
    14                ],
    15                "properties": {
    16                    "path": {
    17                        "$ref": "defs.json#/definitions/FilePath"
    18                    },
    19                    "parameters": {
    20                        "$ref": "defs.json#/definitions/ArrayOfStrings"
    21                    }
    22                }
    23            },
    24            "kernel": {
    25                "description": "kernel config used by VM-based containers",
    26                "type": "object",
    27                "required": [
    28                    "path"
    29                ],
    30                "properties": {
    31                    "path": {
    32                        "$ref": "defs.json#/definitions/FilePath"
    33                    },
    34                    "parameters": {
    35                        "$ref": "defs.json#/definitions/ArrayOfStrings"
    36                    },
    37                    "initrd": {
    38                        "$ref": "defs.json#/definitions/FilePath"
    39                    }
    40                }
    41            },
    42            "image": {
    43                "description": "root image config used by VM-based containers",
    44                "type": "object",
    45                "required": [
    46                    "path",
    47                    "format"
    48                ],
    49                "properties": {
    50                    "path": {
    51                        "$ref": "defs.json#/definitions/FilePath"
    52                    },
    53                    "format": {
    54                        "$ref": "defs-vm.json#/definitions/RootImageFormat"
    55                    }
    56                }
    57            }
    58        }
    59    }
    60}

View as plain text