What problem does it solve?
Provides clear, .NET-specific containerization guidance to produce secure, minimal, and reliable Docker images while avoiding common pitfalls that bloat images, run services as root, or break CI and local workflows.
Core Features & Use Cases
- Multi-stage build patterns for separating SDK build steps from runtime images to minimize final image size.
- Non-root runtime configuration and healthcheck guidance to improve security and reliability in production.
- Layer caching and restore ordering recommendations to speed incremental builds and CI pipelines.
- Docker Compose patterns for local development with service health checks and environment-based connection strings.
- Use Case: Convert a .NET 10 Web API into a production-ready container with a multi-stage Dockerfile, an app health endpoint, and a Docker Compose stack that includes a database and cache with health checks.
Quick Start
Containerize your .NET API using a multi-stage Dockerfile, run it as a non-root user, add a /health endpoint, and use Docker Compose for local development with service health checks.