|
@@ -207,8 +207,8 @@ Json Parameters:
|
|
for the container.
|
|
for the container.
|
|
- **User** - A string value containing the user to use inside the container.
|
|
- **User** - A string value containing the user to use inside the container.
|
|
- **Memory** - Memory limit in bytes.
|
|
- **Memory** - Memory limit in bytes.
|
|
-- **MemorySwap**- Total memory limit (memory + swap); set `-1` to disable swap,
|
|
|
|
- always use this with `memory`, and make the value larger than `memory`.
|
|
|
|
|
|
+- **MemorySwap** - Total memory limit (memory + swap); set `-1` to enable unlimited swap.
|
|
|
|
+ You must use this with `memory` and make the swap value larger than `memory`.
|
|
- **CpuShares** - An integer value containing the CPU Shares for container
|
|
- **CpuShares** - An integer value containing the CPU Shares for container
|
|
(ie. the relative weight vs other containers).
|
|
(ie. the relative weight vs other containers).
|
|
- **Cpuset** - The same as CpusetCpus, but deprecated, please don't use.
|
|
- **Cpuset** - The same as CpusetCpus, but deprecated, please don't use.
|
|
@@ -1207,7 +1207,7 @@ Query Parameters:
|
|
- **rm** - remove intermediate containers after a successful build (default behavior)
|
|
- **rm** - remove intermediate containers after a successful build (default behavior)
|
|
- **forcerm** - always remove intermediate containers (includes rm)
|
|
- **forcerm** - always remove intermediate containers (includes rm)
|
|
- **memory** - set memory limit for build
|
|
- **memory** - set memory limit for build
|
|
-- **memswap** - Total memory (memory + swap), `-1` to disable swap
|
|
|
|
|
|
+- **memswap** - Total memory (memory + swap), `-1` to enable unlimited swap.
|
|
- **cpushares** - CPU shares (relative weight)
|
|
- **cpushares** - CPU shares (relative weight)
|
|
- **cpusetcpus** - CPUs in which to allow execution, e.g., `0-3`, `0,1`
|
|
- **cpusetcpus** - CPUs in which to allow execution, e.g., `0-3`, `0,1`
|
|
|
|
|