

Category · DevOps
A container that runs the same everywhere
Images and layers, Dockerfile, containers, volumes and networks, Compose, image size and security. From your first docker run to a production build.
5 lessons63 min
To the first lessonCheatsheet nowTopics, each as its own lesson

01Container, image and first commandsDemoHow a container differs from a virtual machine, what an image is, and how to live with docker run, ps, logs, exec.
12 min
02Dockerfile: layers, cache and instructionsHow Docker builds an image, why the order of lines decides build speed, and which instruction to use when.
13 min
03Volumes and networksWhere to keep data, how containers find each other by name, and what port publishing really does.
12 min
04Docker Compose: app, Postgres and RedisOne file describes the whole stack, and a healthcheck makes sure the API starts after the database is ready.
13 min
05Smaller and safer imagesMulti-stage builds, choosing a base image, a non-root user, .dockerignore and vulnerability scanning.
13 min0/5 topics open. This is the course intro, not the whole course on one page.