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