title: “Build a new Image from Dockerfile”
date: 2016-03-25T17:40:02
slug: build-a-new-image-from-dockerfile
vi Dockerfile
With this content
# This is a comment
FROM ubuntu:14.04
MAINTAINER Kate Smith <ksmith@example.com>
RUN apt-get update && apt-get install -y apache2
RUN touch /example
Then build the new Image:
docker build -t thomas/ubuntu:v2 .
