Docker · 12-day planAll days
Day 1 of 12 30 minContainersImagesdocker run
Find out what problem containers solve, how they differ from virtual machines, and what images and containers are. Then run your first containers, a hello-world and a real web server, and learn to list, stop and remove them.
By the end of today you can
- Explain the "works on my machine" problem that containers solve
- Tell the difference between a container and a virtual machine
- Tell the difference between an image and a container
- Run a container with docker run and reach a web server inside it
- List, stop and remove containers
What's inside
- 5 sections
- 4 diagrams and mind maps
- 3 code examples you can run
- 5-question quiz
- 1Containers vs virtual machines
- 2Images and containers
- 3Your first container
- 4A real server: nginx
- 5Stopping and removing
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free