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 639a11b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/configuration/container/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ 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.

Check warning on line 140 in docs/configuration/container/index.rst

View workflow job for this annotation

GitHub Actions / lint

Line too long: len=92

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

Constrain the memory available to the container.
Expand Down

0 comments on commit 639a11b

Please sign in to comment.