Merge pull request #197 from gao-feng/rlimits
move the description of Rlimits before example
This commit is contained in:
commit
5e633ba00b
|
@ -283,6 +283,10 @@ For more information, see [the man page](http://man7.org/linux/man-pages/man8/sy
|
||||||
|
|
||||||
## Rlimits
|
## 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
|
```json
|
||||||
"rlimits": [
|
"rlimits": [
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
|
||||||
SELinux process label specifies the label with which the processes in a container are run.
|
SELinux process label specifies the label with which the processes in a container are run.
|
||||||
|
|
Loading…
Reference in New Issue