You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--cpus=<value>`| Specify how much of the available CPU resources a container can use. For instance, if the host machine has two CPUs and you set `--cpus="1.5"`, the container is guaranteed at most one and a half of the CPUs. This is the equivalent of setting `--cpu-period="100000"` and `--cpu-quota="150000"`. |
188
188
|`--cpu-period=<value>`| Specify the CPU CFS scheduler period, which is used alongside `--cpu-quota`. Defaults to 100000 microseconds (100 milliseconds). Most users don't change this from the default. For most use-cases, `--cpus` is a more convenient alternative. |
189
-
|`--cpu-quota=<value>`| Impose a CPU CFS quota on the container. The number of microseconds per `--cpu-period` that the container is limited to before throttled. As such acting as the effective ceiling. For most use-cases, `--cpus` is a more convenient alternative. |
189
+
|`--cpu-quota=<value>`| Impose a CPU CFS quota on the container. The number of microseconds per `--cpu-period` that the container is limited to before being throttled. As such acting as the effective ceiling. For most use-cases, `--cpus` is a more convenient alternative. |
190
190
|`--cpuset-cpus`| Limit the specific CPUs or cores a container can use. A comma-separated list or hyphen-separated range of CPUs a container can use, if you have more than one CPU. The first CPU is numbered 0. A valid value might be `0-3` (to use the first, second, third, and fourth CPU) or `1,3` (to use the second and fourth CPU). |
191
191
|`--cpu-shares`| Set this flag to a value greater or less than the default of 1024 to increase or reduce the container's weight, and give it access to a greater or lesser proportion of the host machine's CPU cycles. This is only enforced when CPU cycles are constrained. When plenty of CPU cycles are available, all containers use as much CPU as they need. In that way, this is a soft limit. `--cpu-shares` doesn't prevent containers from being scheduled in Swarm mode. It prioritizes container CPU resources for the available CPU cycles. It doesn't guarantee or reserve any specific CPU access. |
192
192
@@ -234,7 +234,7 @@ for real-time tasks per runtime period. For instance, with the default period of
234
234
containers using the real-time scheduler can run for 950000 microseconds for every
235
235
1000000-microsecond period, leaving at least 50000 microseconds available for
236
236
non-real-time tasks. To make this configuration permanent on systems which use
237
-
`systemd`, create a systemd unit file for the `docker` service. For an example,
237
+
`systemd`, create a systemd unit file for the `docker` service. For example,
238
238
see the instruction on how to configure the daemon to use a proxy with a
239
239
[systemd unit file](../daemon/proxy.md#systemd-unit-file).
240
240
@@ -343,6 +343,6 @@ environment variables. More information on valid variables can be found in the
0 commit comments