Skip to main content

Introduction to Docker

Core Docker Concepts

0:00
LearnStep 1/2

Docker Concepts

Core Docker Concepts

Images vs Containers

  • Image: A read-only template with instructions for creating a container (like a class)
  • Container: A runnable instance of an image (like an object)
plaintext

Image Layers

Images are built in layers, each representing an instruction in the Dockerfile:

plaintext

Docker Registry

A registry stores Docker images. Docker Hub is the default public registry:

bash