Docker · Directive
HEALTHCHECK
HEALTHCHECK tells Docker how to test whether a container is still working. Docker reports starting, healthy, or unhealthy based on the command result and consecutive failures.
Last updated
Syntax
HEALTHCHECK [OPTIONS] CMD command
HEALTHCHECK NONEIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
DockerfileCMDCompose service healthcheckdocker inspect