Code Reference

Glossary

Docker · Reference cheat sheet

Glossary

Docker · Reference cheat sheet


📋 Overview

Alphabetical glossary of Docker image, container, and Compose terms.

🔧 Core concepts

TermDefinition
Bind mountHost directory mounted into a container path.
Bridge networkDefault single-host virtual network for containers.
Build contextFiles sent to the daemon for docker build.
ComposeYAML-driven multi-container application tool.
ContainerRunnable instance of an image with its own filesystem layer.
DigestContent-addressed sha256: image identity.
EntryPointPrimary executable configuration for a container.
ImageImmutable layered snapshot used to create containers.
LayerFilesystem diff produced by a Dockerfile instruction.
Multi-stageBuild pattern with multiple FROM stages.
RegistryRemote store for images (Docker Hub, GHCR, ECR…).
TagMutable human label for an image (:1.2.0, :latest).
VolumePersistent Docker-managed storage mount.
.dockerignoreExcludes files from the build context.

💡 Examples

Name anatomy:

ghcr.io/acme/api:1.4.0
└ registry ┘ └image┘ └tag┘

Quick lifecycle:

docker build -t demo:1 .
docker run --rm demo:1

⚠️ Pitfalls

  • “Container stopped” still exists until removed — check docker ps -a.
  • Tag ≠ immutable identity — digests do.

On this page