Interview Prep/Docker/CI/CD and production rollouts

How do you manage Docker daemon configuration across a fleet?

IntermediateScenarioCI/CD and production rollouts
Answer

Situation read → Consistency of daemon.json.

What I'd do → Manage with Ansible/Terraform/cloud-init, version in git, validate with dockerd --validate --config-file /etc/docker/daemon.json, and roll changes in batches. Many settings need a restart; use live-restore to reduce impact.

Why → Drift in log options or address pools causes outages.

Interview tip → Test config before restart; a bad JSON stops dockerd.

All Docker questions Roadmap: Docker & containers

More on CI/CD and production rollouts