Skip to main content
This is lesson 6 of 9 in this module Course 96% complete

Dockerfile Fundamentals

Premium Content

Sign in with your account or sign up to access this lesson.

A Dockerfile contains build instructions: FROM selects a base image, LABEL adds metadata, ADD and COPY inject files, RUN executes commands during build, and CMD defines the startup command. Each instruction creates a layer in the final container image.