diff --git a/docs/userguide/dockerimages.md b/docs/userguide/dockerimages.md
index 690f8f0c20..69dd518d22 100644
--- a/docs/userguide/dockerimages.md
+++ b/docs/userguide/dockerimages.md
@@ -86,7 +86,7 @@ If instead we wanted to run an Ubuntu 12.04 image we'd use:
If you don't specify a variant, for example you just use `ubuntu`, then Docker
will default to using the `ubuntu:latest` image.
-> **Tip:**
+> **Tip:**
> We recommend you always use a specific tagged image, for example
> `ubuntu:12.04`. That way you always know exactly what variant of an image is
> being used.
@@ -191,7 +191,7 @@ we'd like to update.
$ docker run -t -i training/sinatra /bin/bash
root@0b2616b0e5a8:/#
-> **Note:**
+> **Note:**
> Take note of the container ID that has been created, `0b2616b0e5a8`, as we'll
> need it in a moment.
@@ -285,14 +285,14 @@ a command inside the image, for example installing a package. Here we're
updating our APT cache, installing Ruby and RubyGems and then installing the
Sinatra gem.
-> **Note:**
+> **Note:**
> There are [a lot more instructions available to us in a Dockerfile](/reference/builder).
Now let's take our `Dockerfile` and use the `docker build` command to build an image.
$ docker build -t ouruser/sinatra:v2 .
Sending build context to Docker daemon 2.048 kB
- Sending build context to Docker daemon
+ Sending build context to Docker daemon
Step 1 : FROM ubuntu:14.04
---> e54ca5efa2e9
Step 2 : MAINTAINER Kate Smith
-
-
-
-
- What is the Dockerfile instruction to execute any commands on the current image and commit the results?
-
-
-
- What is the Dockerfile instruction to specify the maintainer of the Dockerfile?
-
-
-
- What is the character used to add comment in Dockerfiles?
-
-
-
-# This is a Dockerfile to create an image with Memcached and Emacs installed.
-
-# VERSION 1.0
-# use the ubuntu base image provided by dotCloud
- ub
- E B, eric.bardin@dotcloud.com
-# make sure the package repository is up to date
- echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
- apt-get update
-# install memcached
-RUN apt-get install -y
-# install emacs
- apt-get install -y emacs23
-
-
In the next level, we will go into more detail about how to specify which command should be executed when the container starts, -which user to use, and how expose a particular port.
- -Back -Go to the next level diff --git a/docs/userguide/level2.md b/docs/userguide/level2.md deleted file mode 100644 index 5f640d4097..0000000000 --- a/docs/userguide/level2.md +++ /dev/null @@ -1,100 +0,0 @@ - - -Back - -#Dockerfile tutorial - -## Test your Dockerfile knowledge - Level 2 - -### Questions: - -- -
- - - - --# Redis -# -# VERSION 0.42 -# -# use the ubuntu base image provided by dotCloud - ub- - -
-MAINT Ro Ha roberto.hashioka@dotcloud.com
-# make sure the package repository is up to date - echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list - apt-get update
-# install wget (required for redis installation) - apt-get install -y wget
-# install make (required for redis installation) - apt-get install -y make
-# install gcc (required for redis installation) -RUN apt-get install -y
-# install apache2 - wget http://download.redis.io/redis-stable.tar.gz -tar xvzf redis-stable.tar.gz -cd redis-stable && make && make install
-# launch redis when starting the image - ["redis-server"]
-# run as user daemon - daemon
-# expose port 6379 - 6379 -
-Thanks for going through our tutorial! We will be posting Level 3 in the future. - -To improve your Dockerfile writing skills even further, visit the Dockerfile best practices page. - -Back to the Docs!