Docker container health alert - some questions

I’ve just started testing docker node & container monitoring…
Have a docker node that is reporting well and a few containers…
however,

a small number of containers seem to have the “docker container health” service check, while some don’t. – not sure why or what condition is required to detect this service… I’d have blindly guessed all containers would have this…?

for the hosts that have this check, a small number are alerting with “UNKN - Health status: Unknown”
while the other containers with this discovered check seems to be fine…?

I think if your container has defined an healthcheck you get this service.
Please have a look here: https://docs.docker.com/engine/reference/builder/#healthcheck
and then check the Dockerfiles of your container.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.