8 Supporting reliability with health checks and dependency checks

We’re on a journey toward making software production-ready in containers. You’ve already seen how straightforward it is to package apps in Docker images, run them in containers, and define multi-container apps with Docker Compose. In production you’ll run your apps in a container platform like Docker Swarm or Kubernetes, and those platforms have features that help you deploy self-healing apps. You can package your containers with information the platform uses to check if the application inside the container is healthy. If the app stops working correctly, the platform can remove a malfunctioning container and replace it with a new one.

In this chapter you’ll learn how to package ...

Get Learn Docker in a Month of Lunches now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.