Lesson 8 of 12 - Containers
Containers vs virtual machines
By Branko Petric - Updated - About 7 min - Full access
The short answer
A virtual machine runs a full operating system with its own kernel. A container is an isolated process sharing the host kernel, so it starts in seconds and uses less memory. An image is the read-only template, a container is a running copy, and docker run, ps, logs and exec cover daily use.
Want the bigger picture? This lesson maps to this step of the DevOps roadmap.