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 <[email protected]>
  • Loading branch information
cyphar committed Jul 22, 2016
1 parent 858910d commit 19c2a92
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 19c2a92

Please sign in to comment.