Browse code

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>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Kai Qiang Wu(Kennan) authored on 2016/02/18 12:08:15
Showing 1 changed files
... ...
@@ -275,12 +275,12 @@ image that you just pulled, make a change to it, and build a new image based on
275 275
 command.
276 276
 
277 277
 1. In an empty directory, create a simple `Dockerfile` that starts with the 
278
-2. ubuntu:15.04 image.
278
+   ubuntu:15.04 image.
279 279
 
280 280
         FROM ubuntu:15.04
281 281
 
282 282
 2. Add a new file called "newfile" in the image's `/tmp` directory with the 
283
-3. text "Hello world" in it.
283
+   text "Hello world" in it.
284 284
 
285 285
     When you are done, the `Dockerfile` contains two lines:
286 286
 
... ...
@@ -291,7 +291,7 @@ command.
291 291
 3. Save and close the file.
292 292
 
293 293
 4. From a terminal in the same folder as your `Dockerfile`, run the following 
294
-5. command:
294
+   command:
295 295
 
296 296
         $ docker build -t changed-ubuntu .
297 297
         Sending build context to Docker daemon 2.048 kB
... ...
@@ -310,14 +310,14 @@ command.
310 310
     The output above shows a new image with image ID `94e6b7d2c720`.
311 311
 
312 312
 5. Run the `docker images` command to verify the new `changed-ubuntu` image is 
313
-6. in the Docker host's local storage area.
313
+   in the Docker host's local storage area.
314 314
 
315 315
         REPOSITORY       TAG      IMAGE ID       CREATED           SIZE
316 316
         changed-ubuntu   latest   03b964f68d06   33 seconds ago    131.4 MB
317 317
         ubuntu           15.04    013f3d01d247   6 weeks ago       131.3 MB
318 318
 
319 319
 6. Run the `docker history` command to see which image layers were used to 
320
-7. create the new `changed-ubuntu` image.
320
+   create the new `changed-ubuntu` image.
321 321
 
322 322
         $ docker history changed-ubuntu
323 323
         IMAGE               CREATED              CREATED BY                                      SIZE        COMMENT