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 7, 2016
1 parent 8f39e5c commit cb96d84
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,18 @@ However, a runtime CAN decide to not attach to any additional cgroup controllers

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

#### Device whitelist
Expand Down

0 comments on commit cb96d84

Please sign in to comment.