Module 69: Docker

Lesson 1 of 5 · 15–25 minutes

Containers and virtual machines

🏠The everyday picture

Shipping containers changed world trade: every container is the same size, so any ship, train or truck can carry it, and what's inside doesn't matter to the crane. Software containers do the same for apps.

📘What it really is

🖱️Try it

Install Docker. Run docker run hello-world, then docker run -it --rm ubuntu:24.04 bash, look around inside (cat /etc/os-release), and exit. Run docker ps -a and docker images to see what was created.

✅Quick check

Why do containers start much faster than VMs?

Show the answer

They share the host's kernel and don't boot a whole operating system.

What's the difference between an image and a container?

Show the answer

An image is the packaged template; a container is a running instance of it.

← BackModule 69
ProLearners Assist