Back # Dockerfile tutorial ## Test your Dockerfile knowledge - Level 1 ### Questions
What is the Dockerfile instruction to specify the base image ?

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?

### Fill the Dockerfile Your best friend Eric Bardin sent you a Dockerfile, but some parts were lost in the ocean. Can you find the missing parts?
# 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

## What's next?

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