I set up the simplest healthcheck in docker containers:
HEALTHCHECK CMD curl -s http://localhost:6000
Containers have identical web services. When I run
docker ps, the status of all containers is healthy. However, when doing
docker inspect containername, the status of some containers is unhealthy. Why is this so?
Ubuntu 14.04.5 LTS, docker 18.06.1-ce