Dockerfile: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Docker Concepts =Overview= A Dockerfile defines how a container should look at build time, and it contains all the steps that ar...")
 
No edit summary
Line 5: Line 5:
=Overview=
=Overview=


A Dockerfile defines how a container should look at build time, and it contains all the steps that are required to create the [[Docker_Concepts#Layered_Image|image]]. Each command in the Dockerfile generates a new layer in the [[Docker_Concepts#Layered_Image|image]].
A Dockerfile defines how a container should look at build time, and it contains all the steps that are required to create the [[Docker_Concepts#Layered_Image|image]]. Each command (line) in the Dockerfile generates a new layer in the [[Docker_Concepts#Layered_Image|image]].
 
=Commands=
 
==FROM==
 
==USER==
 
==ENV==
 
==RUN==
 
==ADD==
 
==WORKDIR==
 
==CMD==

Revision as of 14:33, 26 April 2017

Internal

Overview

A Dockerfile defines how a container should look at build time, and it contains all the steps that are required to create the image. Each command (line) in the Dockerfile generates a new layer in the image.

Commands

FROM

USER

ENV

RUN

ADD

WORKDIR

CMD