From 0b4e0ce7cda357904342d41ea139519b8bbf755b Mon Sep 17 00:00:00 2001 From: "Kai Qiang Wu(Kennan)" Date: Thu, 18 Feb 2016 03:08:15 +0000 Subject: [PATCH] Fix wrong index marking The index was wrong set in docs, so let's fix it Signed-off-by: Kai Qiang Wu(Kennan) --- docs/userguide/storagedriver/imagesandcontainers.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/userguide/storagedriver/imagesandcontainers.md b/docs/userguide/storagedriver/imagesandcontainers.md index e4293370f4..5dbf15a469 100644 --- a/docs/userguide/storagedriver/imagesandcontainers.md +++ b/docs/userguide/storagedriver/imagesandcontainers.md @@ -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