From 92512fdf32f305e28a0b0f05163f2169f43ed0ef Mon Sep 17 00:00:00 2001 From: Yuan Sun Date: Thu, 8 Oct 2015 10:50:55 +0800 Subject: [PATCH] Add description for "--cpu-shares=0". Signed-off-by: Yuan Sun --- docs/reference/run.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/run.md b/docs/reference/run.md index b4a50abc7f..73706908fd 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -800,7 +800,8 @@ can be modified by changing the container's CPU share weighting relative to the weighting of all other running containers. To modify the proportion from the default of 1024, use the `-c` or `--cpu-shares` -flag to set the weighting to 2 or higher. +flag to set the weighting to 2 or higher. If 0 is set, the system will ignore the +value and use the default of 1024. The proportion will only apply when CPU-intensive processes are running. When tasks in one container are idle, other containers can use the