Skip to content

Commit

Permalink
T6406: document cpu limit config option
Browse files Browse the repository at this point in the history
  • Loading branch information
nvollmar committed May 27, 2024
1 parent d9fef26 commit 16d9a48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ Configuration
- **always**: Restart containers when they exit, regardless of status,
retrying indefinitely

.. cfgcmd:: set container name <name> cpus <cores>

Constrain the cpu cores available to the container.

Default is 0 for unlimited.
This can be a decimal number with up to three decimal places.

.. cfgcmd:: set container name <name> memory <MB>

Constrain the memory available to the container.
Expand Down

0 comments on commit 16d9a48

Please sign in to comment.