advancedScenario-Based & System Design Questions

A team observes that disk usage on their CI runners grows continuously across builds despite each individual build cleaning up its own containers.

Even disciplined per-build container cleanup doesn't address accumulated images, build cache, and volumes left behind across many different builds over time — recommend a scheduled `docker system prune -a --volumes` (or equivalent CI-runner-level cleanup job) run periodically/between builds, separate from any in-build cleanup steps that only address that specific build's own resources.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

A team observes that disk usage on their CI runners grows continuously across builds despite each individual build cleaning up its own containers.

Next Step

Continue to A microservice that depends on three other services via DNS-based service discovery starts a deployment that briefly renames one of those dependent services, breaking startup for several minutes during the transition.← Back to all Docker questions