Merge pull request #10263 from hqhq/hq_check_memoryswap

add check for memoryswap
This commit is contained in:
Michael Crosby
2015-02-06 13:43:23 -08:00
5 changed files with 43 additions and 13 deletions
@@ -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.