Skip to content

Commit

Permalink
Merge pull request opencontainers#197 from gao-feng/rlimits
Browse files Browse the repository at this point in the history
move the description of Rlimits before example
  • Loading branch information
Mrunal Patel committed Sep 17, 2015
2 parents 3720db3 + e7746b1 commit 5e633ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime-config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy

## Rlimits

rlimits allow setting resource limits.
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
The kernel enforces the `soft` limit for a resource while the `hard` limit acts as a ceiling for that value that could be set by an unprivileged process.

```json
"rlimits": [
{
Expand All @@ -293,10 +297,6 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
]
```

rlimits allow setting resource limits.
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
The kernel enforces the `soft` limit for a resource while the `hard` limit acts as a ceiling for that value that could be set by an unprivileged process.

## SELinux process label

SELinux process label specifies the label with which the processes in a container are run.
Expand Down

0 comments on commit 5e633ba

Please sign in to comment.