Debian Codegraph @

schema/test/config/good/zos-example.json

raw symbols SCIP
1 {
2 "ociVersion": "0.5.0-dev",
3 "process": {
4 "terminal": true,
5 "user": {
6 "uid": 1,
7 "gid": 1,
8 "additionalGids": [
9 5,
10 6
11 ]
12 },
13 "args": [
14 "sh"
15 ],
16 "env": [
17 "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin",
18 "TERM=xterm"
19 ],
20 "cwd": "/",
21 "rlimits": [
22 {
23 "type": "RLIMIT_NOFILE",
24 "hard": 1024,
25 "soft": 1024
26 }
27 ],
28 "noNewPrivileges": true
29 },
30 "root": {
31 "path": "rootfs"
32 },
33 "hostname": "slartibartfast",
34 "mounts": [
35 {
36 "destination": "/proc",
37 "type": "proc",
38 "source": "proc"
39 },
40 {
41 "destination": "/dev",
42 "type": "tfs",
43 "source": "tmpfs",
44 "options": [
45 "nosuid",
46 "-p 1755",
47 "-s 64"
48 ]
49 }
50 ],
51 "hooks": {
52 "prestart": [
53 {
54 "path": "/usr/bin/fix-mounts",
55 "args": [
56 "fix-mounts",
57 "arg1",
58 "arg2"
59 ],
60 "env": [
61 "key1=value1"
62 ]
63 },
64 {
65 "path": "/usr/bin/setup-network"
66 }
67 ],
68 "createRuntime": [
69 {
70 "path": "/usr/bin/fix-mounts",
71 "args": [
72 "fix-mounts",
73 "arg1",
74 "arg2"
75 ],
76 "env": [
77 "key1=value1"
78 ]
79 },
80 {
81 "path": "/usr/bin/setup-network"
82 }
83 ],
84 "createContainer": [
85 {
86 "path": "/usr/bin/mount-hook",
87 "args": [
88 "-mount",
89 "arg1",
90 "arg2"
91 ],
92 "env": [
93 "key1=value1"
94 ]
95 }
96 ],
97 "startContainer": [
98 {
99 "path": "/usr/bin/refresh-ldcache"
100 }
101 ],
102 "poststart": [
103 {
104 "path": "/usr/bin/notify-start",
105 "timeout": 5
106 }
107 ],
108 "poststop": [
109 {
110 "path": "/usr/sbin/cleanup.sh",
111 "args": [
112 "cleanup.sh",
113 "-f"
114 ]
115 }
116 ]
117 },
118 "zos": {
119 "namespaces": [
120 {
121 "type": "pid"
122 },
123 {
124 "type": "ipc"
125 },
126 {
127 "type": "uts"
128 },
129 {
130 "type": "mount"
131 }
132 ]
133 },
134 "annotations": {
135 "com.example.key1": "value1",
136 "com.example.key2": "value2"
137 }
138 }