dotnet-docker/samples
Logan Bussell 6208d01556
Merge branch 'main' into 2024-08B
2024-08-12 15:31:30 -07:00
..
aspnetapp Merge branch 'main' into 2024-08B 2024-08-12 15:31:30 -07:00
complexapp Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
dotnetapp Update link in README.md for samples dotnetapp (#5372) 2024-04-16 08:42:47 -05:00
globalapp
kubernetes Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
releasesapi Merge branch 'main' into 2024-08B 2024-08-12 15:31:30 -07:00
releasesapp Fix markdown syntax violations (#5777) 2024-08-09 19:14:54 +00:00
snippets
Directory.Build.props
README.md Update links (#5323) 2024-04-02 22:30:52 +00:00
build-for-a-platform.md Fix markdown syntax violations (#5777) 2024-08-09 19:14:54 +00:00
build-in-sdk-container.md Fix markdown syntax violations (#5764) 2024-08-07 16:33:43 -05:00
deploy-container-to-aci.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
enable-globalization.md Fix markdown syntax violations (#5777) 2024-08-09 19:14:54 +00:00
establishing-docker-environment.md
host-aspnetcore-https.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
push-image-to-acr.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
push-image-to-dockerhub.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
run-aspnetcore-https-development.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
run-in-sdk-container.md Configure duplicate headers markdown rule and address violations (#5782) 2024-08-12 09:49:56 -07:00
run-tests-in-sdk-container.md Modified Markdown intended to be read in GitHub to utilize [!NOTE] format (#5776) 2024-08-09 18:34:54 +00:00
selecting-tags.md Fix typo in selecting-tags.md (#5686) 2024-07-14 11:34:58 -07:00

README.md

.NET container samples

The following samples and guidance demonstrate how to use .NET and Docker for development, testing and production. You can use the samples for learning about containers or as the basis of your own container images.

Kubernetes samples are provided in the kubernetes directory.

[!IMPORTANT] .NET 8 container breaking changes

Building images

Development guidance

Hosting guidance

Other documentation

Try pre-built images

The following commands will run a .NET console app in a container:

docker run --rm mcr.microsoft.com/dotnet/samples

The following command will run an ASP.NET Core console app in a container that you can access in your web browser at http://localhost:8000.

docker run --rm -it -p 8000:8080 mcr.microsoft.com/dotnet/samples:aspnetapp

Docker Repositories

You can find .NET container images at the following Docker repositories: