Overview

Docker allows developers to bundle an application with all its dependencies (libraries, configuration files) into a single container. This ensures the app runs the same way on any machine.

Key Concepts

  • Image: A read-only template used to create containers.
  • Container: A running instance of an image.
  • Dockerfile: A script containing instructions to build a Docker image.

Why Docker?

  • Portability: 'Build once, run anywhere.'
  • Isolation: Containers don't interfere with each other.
  • Efficiency: Uses fewer resources than traditional Virtual Machines (VMs).

Related Terms