Skip to content

Commit e7746b1

Browse files
committed
move the description of Rlimits before example
Signed-off-by: Gao feng <[email protected]>
1 parent 7a05004 commit e7746b1

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
@@ -200,6 +200,10 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
200200

201201
## Rlimits
202202

203+
rlimits allow setting resource limits.
204+
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
205+
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.
206+
203207
```json
204208
"rlimits": [
205209
{
@@ -210,10 +214,6 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
210214
]
211215
```
212216

213-
rlimits allow setting resource limits.
214-
`type` is a string with a value from those defined in [the man page](http://man7.org/linux/man-pages/man2/setrlimit.2.html).
215-
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.
216-
217217
## SELinux process label
218218

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

0 commit comments

Comments
 (0)