| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
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.
The following commands will run a .NET console app in a container:
docker run --rm mcr.microsoft.com/dotnet/samplesThe 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| Back | FazBrowse Home | New Git URL |