Suggestion: Application health status icon shouldn't be orange if containers exited with status (0)

Hello,

At the risk of bikeshedding, I had a minor suggestion for the UI of the Docker desktop app. Currently, when running an application of several containers, the app status icon will turn orange if any of the containers aren’t running. However, I have a couple of bootstrapping containers, whose only job is to wait for other services to start up, and then, say, seed a database before exiting. Even though they exited without an error, the application still treats this like a failure, turning the icon to an orange to indicate the app is unhealthy.

Since this app will be used by people a little less technically inclined, I’m afraid this may cause confusion when they try to debug the app. It’d be nice to have the option to treat non-running containers with an exit status of (0) as a successfully run container.

Illustration of what I mean:

5 Likes

Completely agree. Same use case lead me here, and it surprises me pretty much nobody else is asking for this.

I stumbled upon this, too. Also same usecase.

Same story, this would be a nice fix.

Piling on with a +1. This would be a very welcome enhancement.

Same issue here! It seems to assume for a composed container, all its children must be running for it to be fully healthy and that’s not true (its common to have things that init and exit or are optional etc).

+1

I wonder how Docker Desktop is setting this…