Docker Observability
Container health state
Read health probe status and recent probe results; independent of process running state. Health alone does not trigger standalone restart policies. Use actual probe settings and an independent user-facing check.
Formal Syntax & Structure
docker syntaxdocker
docker inspect --format '{{json .State.Health}}' NAMEWorking Example
Example Snippetdocker
docker inspect --format '{{json .State.Health}}' bm-observe