It would be cool to show the health check output somewhere in Docker Desktop. I have been adding health check code to some of my containers and it’s a nice way to keep track of their status. But it requires the command line and jq:
Current Docker Desktop has a green circle next to the container name or service name when containers are healthy and it changes its color when containers are not healthy. If you move the mouse pointer over the circle, you can even see the status text.
What? This is not true. The green dot only says whether the Container is “running” (green) or “exited” (grey).
It does NOT separately show the Status of the health check, for example as “yellow” if unhealthy.
I currently have this exact case here.
My container in Docker Desktop is “green” and “Running” but when I run docker ps -a
then it clearly states: Up 19 minutes (unhealthy)
So the Docker Desktop does NOT show the health check status correctly.
The only UI I know of which does this accurately and correctly is “Portainer”.
They will show specifically these different Status for a Container:
Then I remembered wrong. I rarely check containers on the GUI. I will check it later. Until then, if it ever worked, you can report it as a bug on GitHub
If it never worked, you can ask for it in the roadmap
This forum is for the community discussing issues, ideas, but there is no guarantee that someone from Docker will read your messages here.
Update:
I checked and I guess I remembered that DD shows how many containers are running in a compose project, but it is true that there is no shown health status currently. Thank you for pointing it out!