Fix wrong index marking

The index was wrong set in docs, so let's fix it

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
This commit is contained in:
Kai Qiang Wu(Kennan) 2016-02-18 03:08:15 +00:00
parent 776c5ee299
commit 0b4e0ce7cd
1 changed files with 5 additions and 5 deletions

View File

@ -275,12 +275,12 @@ image that you just pulled, make a change to it, and build a new image based on
command.
1. In an empty directory, create a simple `Dockerfile` that starts with the
2. ubuntu:15.04 image.
ubuntu:15.04 image.
FROM ubuntu:15.04
2. Add a new file called "newfile" in the image's `/tmp` directory with the
3. text "Hello world" in it.
text "Hello world" in it.
When you are done, the `Dockerfile` contains two lines:
@ -291,7 +291,7 @@ command.
3. Save and close the file.
4. From a terminal in the same folder as your `Dockerfile`, run the following
5. command:
command:
$ docker build -t changed-ubuntu .
Sending build context to Docker daemon 2.048 kB
@ -310,14 +310,14 @@ command.
The output above shows a new image with image ID `94e6b7d2c720`.
5. Run the `docker images` command to verify the new `changed-ubuntu` image is
6. in the Docker host's local storage area.
in the Docker host's local storage area.
REPOSITORY TAG IMAGE ID CREATED SIZE
changed-ubuntu latest 03b964f68d06 33 seconds ago 131.4 MB
ubuntu 15.04 013f3d01d247 6 weeks ago 131.3 MB
6. Run the `docker history` command to see which image layers were used to
7. create the new `changed-ubuntu` image.
create the new `changed-ubuntu` image.
$ docker history changed-ubuntu
IMAGE CREATED CREATED BY SIZE COMMENT