dotnet-docker is a collection of official container images for .NET that provides pre-built Docker images for different .NET runtime and development scenarios.
The project solves the problem of packaging .NET applications for containerized deployment by maintaining official, production-ready Docker images across multiple .NET variants. It provides separate images for the .NET SDK (for development and building), ASP.NET Core Runtime (for web applications), .NET Runtime (for general applications), and .NET Runtime Dependencies (for minimal footprint deployments). The repository also includes images for specialized tools like .NET Monitor and Aspire Dashboard, along with sample applications demonstrating how to use .NET with Docker.
Developers should adopt these images if they are building .NET applications intended for container deployment on Linux, Windows, or macOS. The images are maintained by Microsoft and the .NET community, making them suitable for production workloads where official support and regular updates are important. The project includes comprehensive samples and documentation showing various patterns for containerizing .NET console applications, web applications, and other scenarios. Teams building ASP.NET Core services or distributed .NET applications will find the pre-built images reduce the effort of creating and maintaining custom Dockerfiles.
The project maintains active discussions for Docker-related announcements and accepts community contributions. Development activity shows consistent engagement with pull request processing and community feedback channels.