From dd7ea45fae9d528d84c303760f1e03a6da64f9c2 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Thu, 21 Jan 2016 13:48:53 +0800 Subject: [PATCH] Fix comment about swap limit of docker update The description "set `-1` to disable swap" is wrong, `build`, `create` and `run` already fixed, we need to fix `update` as well. Signed-off-by: Qiang Huang --- docs/reference/commandline/update.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/commandline/update.md b/docs/reference/commandline/update.md index c1efea57ba..bcbfab6ab9 100644 --- a/docs/reference/commandline/update.md +++ b/docs/reference/commandline/update.md @@ -23,7 +23,7 @@ parent = "smn_cli" --cpuset-mems="" Memory nodes (MEMs) in which to allow execution (0-3, 0,1) -m, --memory="" Memory limit --memory-reservation="" Memory soft limit - --memory-swap="" Total memory (memory + swap), '-1' to disable swap + --memory-swap="" A positive integer equal to memory plus swap. Specify -1 to enable unlimited swap --kernel-memory="" Kernel memory limit: container must be stopped The `docker update` command dynamically updates container resources. Use this