advancedScenario-Based & System Design Questions

A container's `HEALTHCHECK` is defined and passes, but the orchestrator still doesn't restart a clearly hung process inside the container.

If the HEALTHCHECK command itself is hanging or returning success incorrectly (e.g., checking a wrong/unrelated endpoint, or the check process itself getting stuck and timing out in a way that's misinterpreted), the orchestrator never sees a failure signal. Verify the HEALTHCHECK's test command actually exercises the specific failure mode in question, and check `timeout`/`retries` values are tuned so a truly hung check is correctly classified as unhealthy rather than perpetually 'still checking'.

This is a Pro chapter

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

A container's `HEALTHCHECK` is defined and passes, but the orchestrator still doesn't restart a clearly hung process inside the container.

Next Step

Continue to A team notices that database backups are completing successfully every night, but a recent restore drill revealed the backups are unusable due to a schema-version mismatch with the current restore tooling.← Back to all Docker questions