Interview Prep/Docker/CI/CD and production rollouts

Estimate and reduce deployment time for a 1.5 GB image across 50 nodes.

AdvancedScenarioCI/CD and production rollouts
Answer

Situation read → Registry egress and pull time dominate.

What I'd do → Shrink the image, order layers so base layers are shared, use a regional mirror or pull-through cache, pre-pull (DaemonSet or docker pull in bake), enable lazy pulling (stargz/SOCI, Nydus) and parallel layer downloads (max-concurrent-downloads). Use zstd compression for faster extraction.

Why → Pull + unpack time often exceeds app start.

Interview tip → Measure first: pull time vs extract vs start.

All Docker questions Roadmap: Docker & containers

More on CI/CD and production rollouts