With this, docker ps will show something like dsarchive/dsa_common 2 hours ago Up 2 hours (healthy). The healthcheck doesn't affect how the dockers run; it functionally is a command exec-ed in the container at a specific frequency that will report if the command succeeded or failed.
With this,
docker ps
will show something likedsarchive/dsa_common 2 hours ago Up 2 hours (healthy)
. The healthcheck doesn't affect how the dockers run; it functionally is a command exec-ed in the container at a specific frequency that will report if the command succeeded or failed.