update docs for memory and memoryswap
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Upstream-commit: 0c0f0d5ab41cae62a441502f26c1c300fc61e25d Component: engine
This commit is contained in:
@ -177,7 +177,8 @@ Json Parameters:
|
||||
for the container.
|
||||
- **User** - A string value containg the user to use inside the container.
|
||||
- **Memory** - Memory limit in bytes.
|
||||
- **MemorySwap**- Total memory usage (memory + swap); set `-1` to disable swap.
|
||||
- **MemorySwap**- Total memory limit (memory + swap); set `-1` to disable swap,
|
||||
always use this with `memory`, and make the value larger than `memory`.
|
||||
- **CpuShares** - An integer value containing the CPU Shares for container
|
||||
(ie. the relative weight vs othercontainers).
|
||||
**CpuSet** - String value containg the cgroups Cpuset to use.
|
||||
|
||||
Reference in New Issue
Block a user