HEALTHCHECK --interval=10s --timeout=5s CMD curl -f http://localhost:8080/actuator/health || exit 1
What will Docker report as the container health status if the Spring Boot app's /actuator/health endpoint returns HTTP 503 for 3 consecutive checks?
{"status":"DOWN","components":{"db":{"status":"DOWN"}}}and the Docker HEALTHCHECK runs:
curl -f http://localhost:8080/actuator/health || exit 1
What will be the Docker container health status?
HEALTHCHECK CMD curl -f http://localhost:8080/actuator/health || exit 1
But Docker always shows the container as unhealthy. Which of the following is the most likely cause?
