Health stores information about the container's healthcheck results. Health

interface Health {
    FailingStreak?: number;
    Log?: HealthcheckResult[];
    Status?: HealthStatusEnum;
}

Properties

FailingStreak?: number

FailingStreak is the number of consecutive failures

Log contains the last few results (oldest first)

Status is one of none, starting, healthy or unhealthy - "none" Indicates there is no healthcheck - "starting" Starting indicates that the container is not yet ready - "healthy" Healthy indicates that the container is running correctly - "unhealthy" Unhealthy indicates that the container has a problem