From fadc2868b18008945e6690bb58ebf36c584e051c Mon Sep 17 00:00:00 2001 From: allencloud Date: Mon, 12 Sep 2016 12:09:54 +0800 Subject: [PATCH] change-code-and-fix-docs-about-checkpoint Signed-off-by: allencloud --- experimental/checkpoint-restore.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experimental/checkpoint-restore.md b/experimental/checkpoint-restore.md index 4e2bca1cd7..dc1f9cfb19 100644 --- a/experimental/checkpoint-restore.md +++ b/experimental/checkpoint-restore.md @@ -35,7 +35,7 @@ not optimized for the task). ## Using Checkpoint & Restore -A new top level commands `docker checkpoint` is introduced, with three subcommands: +A new top level command `docker checkpoint` is introduced, with three subcommands: - `create` (creates a new checkpoint) - `ls` (lists existing checkpoints) - `rm` (deletes an existing checkpoint) @@ -44,9 +44,9 @@ Additionally, a `--checkpoint` flag is added to the container start command. The options for checkpoint create: - Usage: docker checkpoint [OPTIONS] CONTAINER CHECKPOINT_ID + Usage: docker checkpoint create [OPTIONS] CONTAINER CHECKPOINT - Checkpoint the specified container + Create a checkpoint from a running container --leave-running=false leave the container running after checkpoint