|
@@ -180,6 +180,7 @@ Create a container
|
|
|
"KernelMemory": 0,
|
|
|
"CpuShares": 512,
|
|
|
"CpuPeriod": 100000,
|
|
|
+ "CpuQuota": 50000,
|
|
|
"CpusetCpus": "0,1",
|
|
|
"CpusetMems": "0,1",
|
|
|
"BlkioWeight": 300,
|
|
@@ -232,6 +233,7 @@ Json Parameters:
|
|
|
- **CpuShares** - An integer value containing the container's CPU Shares
|
|
|
(ie. the relative weight vs other containers).
|
|
|
- **CpuPeriod** - The length of a CPU period in microseconds.
|
|
|
+- **CpuQuota** - Microseconds of CPU time that the container can get in a CPU period.
|
|
|
- **Cpuset** - Deprecated please don't use. Use `CpusetCpus` instead.
|
|
|
- **CpusetCpus** - String value containing the `cgroups CpusetCpus` to use.
|
|
|
- **CpusetMems** - Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems.
|
|
@@ -1378,6 +1380,8 @@ Query Parameters:
|
|
|
- **memswap** - Total memory (memory + swap), `-1` to disable swap.
|
|
|
- **cpushares** - CPU shares (relative weight).
|
|
|
- **cpusetcpus** - CPUs in which to allow execution (e.g., `0-3`, `0,1`).
|
|
|
+- **cpuperiod** - The length of a CPU period in microseconds.
|
|
|
+- **cpuquota** - Microseconds of CPU time that the container can get in a CPU period.
|
|
|
- **buildargs** – JSON map of string pairs for build-time variables. Users pass
|
|
|
these values at build-time. Docker uses the `buildargs` as the environment
|
|
|
context for command(s) run via the Dockerfile's `RUN` instruction or for
|