About this chapter
In this chapter you'll learn what Docker actually does, how containers differ from virtual machines, install Docker on your machine, and run your very first container.
Lessons from courses
- 1 What is Docker? Learn what Docker is and what a container is - and why developers use Docker to package and run applications the same way on every machine.
- 2 Containers vs virtual machines Docker containers vs virtual machines: the key differences, and why containers are lightweight, fast, and start in seconds instead of minutes.
- 3 Installing Docker How to install Docker: set up Docker Desktop on Windows and macOS or Docker Engine on Linux, then verify it with the docker version command.
- 4 Your first container Run your first Docker container with docker run hello-world, and learn step by step what happens when Docker pulls an image and starts it.