Skip to content
StackDecode
BeginnerLesson 1 of 26

What Docker is (and isn't)

Containers package an app with everything it needs, so it runs the same on any machine.

A container is an isolated process that carries its own filesystem, libraries and settings. Unlike a virtual machine it shares the host's kernel, so it starts in milliseconds and uses far less memory.

  • Image: a read-only template (the recipe plus ingredients).
  • Container: a running instance of an image.
  • Registry: a place to store and share images, such as Docker Hub.

Why students care: "it works on my machine" disappears. Your teammate, the grader and the cloud all run the exact same environment.