Skip to content

Commit 5e633ba

Browse files
author
Mrunal Patel
committed
Merge pull request opencontainers#197 from gao-feng/rlimits
move the description of Rlimits before example
2 parents 3720db3 + e7746b1 commit 5e633ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

runtime-config-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
283283

284284
## Rlimits
285285

286+
rlimits allow setting resource limits.
287+
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
288+
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.
289+
286290
```json
287291
"rlimits": [
288292
{
@@ -293,10 +297,6 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
293297
]
294298
```
295299

296-
rlimits allow setting resource limits.
297-
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
298-
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.
299-
300300
## SELinux process label
301301

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

0 commit comments

Comments
 (0)