From c1018a0d0fa82593489f146bac095babd0330832 Mon Sep 17 00:00:00 2001 From: Zhang Wei Date: Mon, 4 Jan 2016 23:58:20 +0800 Subject: [PATCH] Update RestartPolicy of container Add `--restart` flag for `update` command, so we can change restart policy for a container no matter it's running or stopped. Signed-off-by: Zhang Wei Upstream-commit: 7a30e41b8437923d79d7f298aca76f3ac045f6d5 Component: cli --- components/cli/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/common.go b/components/cli/common.go index 880ef6c80a..d2fa93d882 100644 --- a/components/cli/common.go +++ b/components/cli/common.go @@ -64,7 +64,7 @@ var dockerCommands = []Command{ {"tag", "Tag an image into a repository"}, {"top", "Display the running processes of a container"}, {"unpause", "Unpause all processes within a container"}, - {"update", "Update resources of one or more containers"}, + {"update", "Update configuration of one or more containers"}, {"version", "Show the Docker version information"}, {"volume", "Manage Docker volumes"}, {"wait", "Block until a container stops, then print its exit code"},