I know about HEALTHCHECK instruction in Dockerfile and I know about option to add it in docker run command or in docker-compose file.
As I know about healthcheck behaviour, it only checks healthy status of container when the container is starting. If health check was successfull, it marks container as healthy and that’s all.
My question is: is there any option to have these healthchecks in running containers? For example I would like to check if my website returns 200 each 10 seconds, because there can be some trouble in specific instance of container.
Thank you for any advice.