📧 chinmayeepavi@gmail.com Support

Core Concepts

Dockerfile

A plain text file describing the steps required to build an image. It uses a small domain-specific language of instructions. The daemon processes these instructions from the top down, so their order matters — both for correctness and for layer caching. The Dockerfile is effectively the source code of the image.

Image

A lightweight, standalone, executable package containing everything needed to run a piece of software: the code, a runtime, libraries, environment variables, and configuration files. Images are read-only templates, built in layers, where each instruction in the Dockerfile produces a layer. Layers are shared between images, which is why pulling a second image based on the same parent is fast.

Container

A runtime instance of an image — what the image becomes in memory when executed. A container runs isolated from the host by default, accessing host files and ports only where explicitly configured. Many containers can run from one image, all sharing the same behaviour, which is what makes horizontal scaling straightforward.

Volume

A specially designated directory used to store data outside the container's own writable layer. Volumes are created and managed by Docker and, on Linux, live under /var/lib/docker/volumes/. They exist because data written inside a container does not survive the container's removal.

Registry

A service that stores and distributes images, enabling sharing between machines, teams, and CI pipelines.