Lesson 1.1

Images, containers, and Dockerfiles

An image is a stacked filesystem plus metadata; a container is a running instance of one. Every Dockerfile instruction is a layer.

Duration
18m
Level
Advanced
Students
8.6k students

Overview

An image is a stacked filesystem plus metadata; a container is a running instance of one. Every Dockerfile instruction is a layer.

In this lesson you will:

  • Distinguish an image from a running container
  • Write a Dockerfile that builds reproducibly
  • Choose a base image deliberately

Resources

Kubernetes documentation

The official reference for the tools used in this lesson.