Skip to content

Commit 463042f

Browse files
committed
move the description of Rlimits before example
Signed-off-by: Gao feng <[email protected]>
1 parent 107a454 commit 463042f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

runtime-config-linux.md

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

283283
## Rlimits
284284

285+
rlimits allow setting resource limits.
286+
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
287+
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.
288+
285289
*Example*
286290
```json
287291
"rlimits": [
@@ -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)