Docker · Option
healthcheck
HEALTHCHECK tells Docker how to test whether a container is working. Docker tracks starting, healthy, and unhealthy states from the command's results.
Last updated
Syntax
HEALTHCHECK [OPTIONS] CMD command
HEALTHCHECK NONEIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
FROMCMDENTRYPOINThealthcheckservice_healthy