Comment on How do you healthcheck your containers?

nesc@lemmy.cafe ⁨3⁩ ⁨weeks⁩ ago

  1. I don’t, in general all of them are restarted automatically. I have monitoring configured for services, not containers themselves.
  2. Yes, looking at the original Dockerfile/Containerfile if they have HEALTHCHECK keyword you can assume that they do something.
  3. Person building the container, often it doesn’t make sense to create a healthcheck at all.
  4. Better to monitor your service (application+db+proxy+queue+whatever), not containers in isolation.

source
Sort:hotnewtop