1{
2    "ociVersion": "1.0.0",
3
4    "root": {
5        "path": "rootfs",
6        "readonly": true
7    },
8
9    "process": {
10        "terminal": false,
11        "consoleSize": {
12            "height":6667,
13            "width":6668
14        },
15
16        "user": {
17            "uid": 14,
18            "gid": 14,
19            "additionalGids": [59, 81]
20        },
21
22        "args": [
23            "/tmp/verify.sh"
24        ],
25
26        "env": [
27            "FOO=BAR",
28            "WITHSPACES=FOO BAR",
29            "WITHSHELLCHARS=$ASDF \\\"asdf asdf\\\" !",
30            "WITHCONTROLCHARS=\\123\\125\\010\\020",
31            "TERM=xterm"
32        ],
33
34        "cwd": "/tmp/src",
35
36        "rlimits": [
37            {
38                "type": "RLIMIT_NOFILE",
39                "hard": 1020,
40                "soft": 1020
41            }
42        ]
43    },
44
45    "mounts": [
46        {
47            "destination": "/tmp/src"       },
48        {
49       "source": "sysfs",
50            "options": [
51                "mode=777"
52            ]
53        },
54        {
55            "destination": "/sys/fs/cgroup",
56            "type": "cgroup",
57            "source": "cgroup",
58            "options": [
59                "mode=777"
60            ]
61        }
62    ],
63
64    "hooks": {},
65
66    "linux": {
67        "resources": {
68            "devices": [
69                {
70                    "allow": false,
71                    "access": "rwm"
72                }
73            ]
74        },
75        "namespaces": [
76            {
77                "type": "pid"
78            },
79            {
80                "type": "ipc"
81            },
82            {
83                "type": "mount"
84            }
85        ]
86    },
87
88    "annotations": {
89        "com.example.key1": "value1",
90        "com.example.key2": "value2"
91    }
92}
93