Skip to content

Commit c5e4c31

Browse files
authored
Merge pull request opencontainers#1534 from tklauser/readme-capablities
README.md: adjust capabilities section in config.json example
2 parents 6ca8b74 + 10dc96b commit c5e4c31

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

README.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,33 @@ Your process field in the `config.json` should look like this below with `"termi
145145
"TERM=xterm"
146146
],
147147
"cwd": "/",
148-
"capabilities": [
149-
"CAP_AUDIT_WRITE",
150-
"CAP_KILL",
151-
"CAP_NET_BIND_SERVICE"
152-
],
148+
"capabilities": {
149+
"bounding": [
150+
"CAP_AUDIT_WRITE",
151+
"CAP_KILL",
152+
"CAP_NET_BIND_SERVICE"
153+
],
154+
"effective": [
155+
"CAP_AUDIT_WRITE",
156+
"CAP_KILL",
157+
"CAP_NET_BIND_SERVICE"
158+
],
159+
"inheritable": [
160+
"CAP_AUDIT_WRITE",
161+
"CAP_KILL",
162+
"CAP_NET_BIND_SERVICE"
163+
],
164+
"permitted": [
165+
"CAP_AUDIT_WRITE",
166+
"CAP_KILL",
167+
"CAP_NET_BIND_SERVICE"
168+
],
169+
"ambient": [
170+
"CAP_AUDIT_WRITE",
171+
"CAP_KILL",
172+
"CAP_NET_BIND_SERVICE"
173+
]
174+
},
153175
"rlimits": [
154176
{
155177
"type": "RLIMIT_NOFILE",
@@ -161,7 +183,7 @@ Your process field in the `config.json` should look like this below with `"termi
161183
},
162184
```
163185

164-
Now we can go though the lifecycle operations in your shell.
186+
Now we can go through the lifecycle operations in your shell.
165187

166188

167189
```bash

0 commit comments

Comments
 (0)