Aller au contenu

Container Healthcheck

Une commande que Docker exécute périodiquement pour savoir si un conteneur fonctionne réellement.

Defined via HEALTHCHECK in a Dockerfile or the healthcheck key in Compose, it lets orchestration restart unhealthy containers and lets dependencies wait until a service is truly ready.

Articles connexes

Docker

A platform for packaging applications and their dependencies into lightweight, portable containers.

Docker Compose

A tool that defines and runs multi-container applications from a single declarative YAML file.

Watchtower

A tool that automatically updates running Docker containers to their latest images.