Refine document by review comments

Signed-off-by: David Young <yangboh@cn.ibm.com>
This commit is contained in:
David Young 2015-03-26 12:39:50 +08:00 committed by Tibor Vass
parent bf57339527
commit 8d682bf734
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ Show the history of when and how an image was created.
511136ea3c5a 10 months ago 0 B Imported from -
## 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
IMAGE CREATED CREATED BY SIZE COMMENT

View File

@ -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
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
IMAGE CREATED CREATED BY SIZE COMMENT