Skip to content

Commit

Permalink
config-linux: add example of cgroup resource limits
Browse files Browse the repository at this point in the history
The example section looks very sparse otherwise.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
  • Loading branch information
cyphar committed Jul 21, 2016
1 parent 31b09e3 commit 219ceaf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,19 @@ However, a runtime CAN decide to not attach to any additional cgroup controllers
###### Example

```json
"cgroupsPath": "/myRuntime/myContainer"
"cgroupsPath": "/myRuntime/myContainer",
"resources": {
"memory": {
"limit": 100000,
"reservation": 200000
},
"devices": [
{
"allow": false,
"access": "rwm"
}
]
}
```

#### Device whitelist
Expand Down

0 comments on commit 219ceaf

Please sign in to comment.