This repo contains samples that demonstrate various .NET Framework Docker configurations, which you can use as the basis of your own Docker images. These samples depend on the .NET Framework Docker images on Docker Hub, provided by the .NET Team at Microsoft.
Docker uses docker/whalesay as a getting started sample. The .NET Core Team at Microsoft uses dotnetbot, which is the mascot for .NET open source projects. Got something to say? Both whalesay and dotnetbot are great listeners.
You can pick the sample that best fits the scenario you are interested in. The instructions for each sample describe how to target Windows.
You need to have the Docker for Windows client client installed to use these samples.
The following samples show different ways to use .NET Core images.
- dotnetapp-4.6.2 - This sample demonstrates how to build a Docker image for a .NET Framework 4.6.2 application.
- dotnetapp-3.5 - This sample demonstrates how to build a Docker image for a .NET Framework 3.5 application.
See the following related Docker Hub repos:
- microsoft/dotnet-framework for .NET Framework images (for web applications, see microsoft/aspnet).
- microsoft/aspnet for ASP.NET Web Forms and MVC images.
- microsoft/dotnet for .NET Core images.
- microsoft/dotnet-samples for .NET Core sample images.
- microsoft/aspnetcore for ASP.NET Core images.
See the following related GitHub repos:
- dotnet/dotnet-docker-samples for .NET Core samples.