advancedTop 100 Interview Questions

Why is `restart: on-failure` not equivalent to high availability?

It only handles the case where the process crashes on the same host and that host remains available to restart it; it does nothing to protect against the host itself failing, and it doesn't eliminate the downtime gap that occurs during the restart (cold start, dependency reconnection, cache warm-up).

This is a Pro chapter

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

Why is `restart: on-failure` not equivalent to high availability?

Next Step

Continue to What's the minimum replica count typically recommended for a production service with an SLA?← Back to all Docker questions