dotnet / dotnet-docker

Docker images for .NET and the .NET Tools.
https://hub.docker.com/_/microsoft-dotnet
MIT License
4.48k stars 1.94k forks source link

Provide documentation for HEALTHCHECK scenarios in distroless environments #4323

Open mthalman opened 1 year ago

mthalman commented 1 year ago

This is related to https://github.com/dotnet/dotnet-docker/issues/4300 and specifically the comment to provide documentation for HEALTHCHECK scenarios in distroless. This would help guide customers for authoring their own .NET application that can be used as the executable for a HEALTHCHECK in a distroless environment.

lbussell commented 3 months ago

[Triage] There is an example of how to implement a healthcheck for a distroless console app in this discussion thread: https://github.com/dotnet/dotnet-docker/discussions/5728#discussioncomment-10141655, also related to https://github.com/dotnet/dotnet-docker/discussions/4296 and https://github.com/dotnet/dotnet-docker/issues/4300