mirror of https://github.com/docker/cli.git
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 <zhangwei555@huawei.com>
This commit is contained in:
parent
c73cd919b4
commit
7a30e41b84
|
@ -64,7 +64,7 @@ var dockerCommands = []Command{
|
||||||
{"tag", "Tag an image into a repository"},
|
{"tag", "Tag an image into a repository"},
|
||||||
{"top", "Display the running processes of a container"},
|
{"top", "Display the running processes of a container"},
|
||||||
{"unpause", "Unpause all processes within 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"},
|
{"version", "Show the Docker version information"},
|
||||||
{"volume", "Manage Docker volumes"},
|
{"volume", "Manage Docker volumes"},
|
||||||
{"wait", "Block until a container stops, then print its exit code"},
|
{"wait", "Block until a container stops, then print its exit code"},
|
||||||
|
|
Loading…
Reference in New Issue