Skip to main content

What happens when the Docker daemon crashes while containers run?

Senior Docker
Quick Answer Containers managed by dockerd are tracked with live-restore enabled รขโ‚ฌโ€ they continue running. Without live-restore, a daemon crash stops all containers. Containers have their own runc shim process that keeps them alive independently of dockerd. On restart, dockerd reconnects to running container shims and resumes management.

Answer

Containers continue running as normal processes but cannot be managed until dockerd restarts.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice