Skip to content

Commit

Permalink
doc:add some doc for ulimit
Browse files Browse the repository at this point in the history
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
  • Loading branch information
ningmingxiao committed Dec 20, 2024
1 parent c41b394 commit b26474b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,26 @@ Ulimit flags:

- :whale: `--ulimit`: Set ulimit

--ulimit can be used to restrict the following types of resources.

| type | describe| value range |
|----|----|----|
| core | limits the core file size (KB)| A 64-bit integer (INT64), with no units. It can be 0, negative, where -1 represents UNLIMITED (i.e., no limit is applied), and any other negative values will be forcibly converted to a large positive integer.|
| cpu | max CPU time (MIN)| same as above|
| data |max data size (KB) | same as above|
| fsize | maximum filesize (KB)| same as above|
| locks | max number of file locks the user can hold | same as above|
| memlock | max locked-in-memory address space (KB) | same as above|
| msgqueue | max memory used by POSIX message queues (bytes)| same as above|
| nice | nice priority | same as above |
| nproc | max number of processes | same as above|
| rss | max resident set size (KB)| same as above|
| rtprio | max realtime priority| same as above|
| rttime | realtime timeout | same as above|
| sigpending | max number of pending signals| same as above|
| stack | max stack size (KB) | same as above|
| nofile | max number of open file descriptors| A 64-bit integer (int64), with no units. It cannot be negative; negative values will be forcibly converted to a large number, and an "Operation not permitted" error will occur during setting|

Verify flags:

- :nerd_face: `--verify`: Verify the image (none|cosign|notation). See [`./cosign.md`](./cosign.md) and [`./notation.md`](./notation.md) for details.
Expand Down

0 comments on commit b26474b

Please sign in to comment.