Skip to content

Commit 16d9a48

Browse files
committed
T6406: document cpu limit config option
1 parent d9fef26 commit 16d9a48

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/configuration/container/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ Configuration
133133
- **always**: Restart containers when they exit, regardless of status,
134134
retrying indefinitely
135135

136+
.. cfgcmd:: set container name <name> cpus <cores>
137+
138+
Constrain the cpu cores available to the container.
139+
140+
Default is 0 for unlimited.
141+
This can be a decimal number with up to three decimal places.
142+
136143
.. cfgcmd:: set container name <name> memory <MB>
137144

138145
Constrain the memory available to the container.

0 commit comments

Comments
 (0)