Docker

Running software in containers, and building images that other people can run.

  • 5 topics
  • 29 cards
  • 17 questions
  • Beginner to Advanced
Share

Running Containers

Using what someone else built.

  • What a container is: a program that shares the host's kernel, started from a read-only image.

    Beginner5 cards · 3 qnot started

  • Running a container from an image: docker run, publishing a port, and finding out why a container stopped.

    Beginner to Intermediate6 cards · 5 qnot started

  • Which files survive a container: the writable layer, and the bind mounts and volumes that keep data after it is gone.

    Beginner to Intermediate5 cards · 3 qnot started

Building Images

Making something others can run.

  • Building your own image: writing a Dockerfile, running docker build, and naming the result with tags.

    Beginner to Intermediate6 cards · 3 qnot started

  • The build cache: why a rebuild is fast or slow, how to order a Dockerfile to keep it fast, and what it leaves on disk.

    Intermediate to Advanced7 cards · 3 qnot started