Support docker healthchecks #8208
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
area-orchestrator
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
container images can have a healthchecks provided https://docs.docker.com/reference/dockerfile/#healthcheck
when the container is started, docker will call it and make the state available like so:
when a healthchecks is made available like this, it is executable based (no http endpoint available)
Describe the solution you'd like
it would be really nice if Aspire could support these docker provided healthchecks natively or allow Aspire healthchecks that call into the container executables themselves.
I investigated a little bit and it is pretty hard to get the container id or name from Aspire due to DcpInstancesAnnotation being internal.
Additional context
No response
The text was updated successfully, but these errors were encountered: