mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
docs: document healthcheck timeout termination behavior
Document that when a health check command exceeds its configured timeout, the process is forcibly terminated. This clarifies the behavior for users who need predictable handling of hung health check commands. Fixes #45927 Signed-off-by: majiayu000 <1835304752@qq.com>
This commit is contained in:
@@ -862,6 +862,10 @@ definitions:
|
||||
description: |
|
||||
The time to wait before considering the check to have hung. It should
|
||||
be 0 or at least 1000000 (1 ms). 0 means inherit.
|
||||
|
||||
If the health check command does not complete within this timeout,
|
||||
the check is considered failed and the health check process is
|
||||
forcibly terminated.
|
||||
type: "integer"
|
||||
format: "int64"
|
||||
Retries:
|
||||
|
||||
Reference in New Issue
Block a user