AnthonyMastrean commented on issue #3266: NIFI-5955 add a Docker HEALTHCHECK URL: https://github.com/apache/nifi/pull/3266#issuecomment-467207918 Two notes... * HEALTHCHECK is not just up or down, eventually you want to provide resource usage or application specific metrics (for use in dashboards). The existing [ENTRYPOINT](https://github.com/apache/nifi/blob/master/nifi-docker/dockerhub/Dockerfile#L98) already tracks basic up/down and reports running/exited status (and, even, participate in [restart policy](https://docs.docker.com/config/containers/start-containers-automatically/)). * HEALTHCHECK is also usable by service coordination systems to do service startup waiting and ordering (like Compose v2's [depends_on](https://docs.docker.com/compose/compose-file/compose-file-v2/#depends_on) feature), so you definitely want the HEALTHCHECK CMD to respond _after_ the service is servicing requests, not just _started_.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
