DevOps with Docker and Kubernetes
LESSON 1.1

Images, containers, and Dockerfiles

Learn key techniques and workflows in DevOps with Docker and Kubernetes.

18m
advanced
8,640 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

Pro Tip

Use caching and revalidation wisely to ensure your app stays fast and data remains fresh without unnecessary requests.

Resources