浏览代码

Refine document by review comments

Signed-off-by: David Young <yangboh@cn.ibm.com>
David Young 10 年之前
父节点
当前提交
8d682bf734
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/man/docker-history.1.md
  2. 1 1
      docs/sources/reference/commandline/cli.md

+ 1 - 1
docs/man/docker-history.1.md

@@ -41,7 +41,7 @@ Show the history of when and how an image was created.
     511136ea3c5a   10 months ago                                                    0 B                 Imported from -
     511136ea3c5a   10 months ago                                                    0 B                 Imported from -
 
 
 ## Show the history of images created through docker commit command
 ## Show the history of images created through docker commit command
-`docker commit` command accepts a **-m** parameter to provide comment messages to the image. You can see these messages in image history.
+The `docker commit` command has a **-m** flag for adding comments to the image. These comments will be displayed in the image history.
 
 
     $ sudo docker history docker:scm
     $ sudo docker history docker:scm
     IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
     IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -1170,7 +1170,7 @@ To see how the `docker:latest` image was built:
     750d58736b4b        6 weeks ago         /bin/sh -c #(nop) MAINTAINER Tianon Gravi <ad   0 B
     750d58736b4b        6 weeks ago         /bin/sh -c #(nop) MAINTAINER Tianon Gravi <ad   0 B
     511136ea3c5a        9 months ago                                                        0 B                 Imported from -
     511136ea3c5a        9 months ago                                                        0 B                 Imported from -
 
 
-To see how the `docker:apache` image which was commited from a container:
+To see how the `docker:apache` image was added to a container's base image:
 
 
     $ sudo docker history docker:scm
     $ sudo docker history docker:scm
     IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
     IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT