Image vs container
Image: read-only template of layers. Container: running instance with a writable layer. One image → many containers.
docker run -d nginx
DevOps & Cloud · 9 sections
Images, containers, Dockerfile best practices, networking, volumes, Compose, registry, security, and common gotchas.
Image: read-only template of layers. Container: running instance with a writable layer. One image → many containers.
docker run -d nginx
Each Dockerfile instruction creates a layer. Layers are cached and shared across images. Order matters: rarely-changing first.
FROM base
COPY deps .
RUN install
Files sent to daemon during build. Use .dockerignore to exclude; large context slows builds and leaks secrets.
docker build -t app .
114 more cards in this sheet
Unlock the Cloud, DevOps & CS Fundamentals bundle — ₹399
One-time payment. Unlocks this sheet and 8 other sheets in the bundle, plus a typeset PDF of each.
Unlock the bundle See all bundles
Or get all 76 sheets for ₹999 — one payment, every future sheet included.
What's new and the interview questions people are actually getting asked. No spam.