Generate readmes for MCR portal (#3784)
(cherry picked from commit 729ad971c3
)
This commit is contained in:
Родитель
3739ebf9f8
Коммит
a2eafc7a9b
|
@ -0,0 +1,71 @@
|
|||
## About
|
||||
|
||||
This image contains the ASP.NET Core and .NET runtimes and libraries and is optimized for running ASP.NET Core apps in production.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/aspnet:6.0`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
* [dotnet/nightly/aspnet](https://hub.docker.com/_/microsoft-dotnet-nightly-aspnet/): ASP.NET Core Runtime (Preview)
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
### Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample web application:
|
||||
|
||||
```console
|
||||
docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/samples:aspnetapp
|
||||
```
|
||||
|
||||
After the application starts, navigate to `http://localhost:8000` in your web browser.
|
||||
|
||||
See [Hosting ASP.NET Core Images with Docker over HTTPS](https://github.com/dotnet/dotnet-docker/blob/main/samples/host-aspnetcore-https.md) to use HTTPS with this image.
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -0,0 +1,65 @@
|
|||
## About
|
||||
|
||||
This image contains the .NET Monitor tool.
|
||||
|
||||
Use this image as a sidecar container to collect diagnostic information from other containers running .NET Core 3.1 or later processes.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `6` (Current)
|
||||
* `docker pull mcr.microsoft.com/dotnet/monitor:6`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
* [dotnet/nightly/monitor](https://hub.docker.com/_/microsoft-dotnet-nightly-monitor/): .NET Monitor Tool (Preview)
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
### Container sample: Run the tool
|
||||
|
||||
You can run a container with a pre-built [.NET Docker Image](https://hub.docker.com/_/microsoft-dotnet-monitor/), based on the dotnet-monitor global tool.
|
||||
|
||||
See the [documentation](https://go.microsoft.com/fwlink/?linkid=2158052) for how to configure the image to be run in a Docker or Kubernetes environment, including how to configure authentication and certificates for https bindings.
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -0,0 +1,59 @@
|
|||
## About
|
||||
|
||||
This image contains the native dependencies needed by .NET. It does not include .NET. It is for [self-contained](https://docs.microsoft.com/dotnet/articles/core/deploying/index) applications.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/runtime-deps:6.0`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
* [dotnet/nightly/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps/): .NET Runtime Dependencies (Preview)
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
* [.NET self-contained Sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/dotnet-docker-selfcontained.md) - This [sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile.debian-x64-selfcontained) builds and runs an application as a self-contained application.
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -0,0 +1,67 @@
|
|||
## About
|
||||
|
||||
This image contains the .NET runtimes and libraries and is optimized for running .NET apps in production.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/runtime:6.0`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
* [dotnet/nightly/runtime](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime/): .NET Runtime (Preview)
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
### Container sample: Run a simple application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample console application:
|
||||
|
||||
```console
|
||||
docker run --rm mcr.microsoft.com/dotnet/samples
|
||||
```
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -0,0 +1,82 @@
|
|||
## About
|
||||
|
||||
These images contain sample .NET and ASP.NET Core applications.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `dotnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:dotnetapp`
|
||||
* `aspnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:aspnetapp`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
### Container sample: Run a simple application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample console application:
|
||||
|
||||
```console
|
||||
docker run --rm mcr.microsoft.com/dotnet/samples
|
||||
```
|
||||
|
||||
### Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample web application:
|
||||
|
||||
```console
|
||||
docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/samples:aspnetapp
|
||||
```
|
||||
|
||||
After the application starts, navigate to `http://localhost:8000` in your web browser.
|
||||
|
||||
See [Hosting ASP.NET Core Images with Docker over HTTPS](https://github.com/dotnet/dotnet-docker/blob/main/samples/host-aspnetcore-https.md) to use HTTPS with this image.
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -0,0 +1,76 @@
|
|||
## About
|
||||
|
||||
This image contains the .NET SDK which is comprised of three parts:
|
||||
|
||||
1. .NET CLI
|
||||
1. .NET runtime
|
||||
1. ASP.NET Core
|
||||
|
||||
Use this image for your development process (developing, building and testing applications).
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
## Featured Tags
|
||||
|
||||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/sdk:6.0`
|
||||
|
||||
## Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
* [dotnet/nightly/sdk](https://hub.docker.com/_/microsoft-dotnet-nightly-sdk/): .NET SDK (Preview)
|
||||
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
## Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
### Building .NET Apps with Docker
|
||||
|
||||
* [.NET Docker Sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md) - This [sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile) builds, tests, and runs the sample. It includes and builds multiple projects.
|
||||
* [ASP.NET Core Docker Sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md) - This [sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile) demonstrates using Docker with an ASP.NET Core Web App.
|
||||
|
||||
### Develop .NET Apps in a Container
|
||||
|
||||
The following samples show how to develop, build and test .NET applications with Docker without the need to install the .NET SDK.
|
||||
|
||||
* [Build .NET Applications with SDK Container](https://github.com/dotnet/dotnet-docker/blob/main/samples/build-in-sdk-container.md)
|
||||
* [Test .NET Applications with SDK Container](https://github.com/dotnet/dotnet-docker/blob/main/samples/run-tests-in-sdk-container.md)
|
||||
* [Run .NET Applications with SDK Container](https://github.com/dotnet/dotnet-docker/blob/main/samples/run-in-sdk-container.md)
|
||||
|
||||
## Support
|
||||
|
||||
### Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
### Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
### Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
## License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -3,13 +3,13 @@
|
|||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/aspnet:6.0`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
This image contains the ASP.NET Core and .NET runtimes and libraries and is optimized for running ASP.NET Core apps in production.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -179,7 +179,6 @@ Tag | Dockerfile
|
|||
7.0.0-preview.4-windowsservercore-ltsc2019, 7.0-windowsservercore-ltsc2019 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/windowsservercore-ltsc2019/amd64/Dockerfile)
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/aspnet at https://mcr.microsoft.com/v2/dotnet/aspnet/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
For tags contained in the old dotnet/core/aspnet repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core/aspnet/tags/list.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
|
||||
# About .NET
|
||||
# About
|
||||
|
||||
[.NET](https://docs.microsoft.com/dotnet/core/) is a general purpose development platform maintained by Microsoft and the .NET community on [GitHub](https://github.com/dotnet/core). It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
|
||||
|
||||
|
@ -26,7 +26,7 @@ You are invited to [contribute new features](https://github.com/dotnet/core/blob
|
|||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Images
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* `6` (Current)
|
||||
* `docker pull mcr.microsoft.com/dotnet/monitor:6`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
This image contains the .NET Monitor tool.
|
||||
|
||||
|
@ -11,7 +11,7 @@ Use this image as a sidecar container to collect diagnostic information from oth
|
|||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -57,7 +57,6 @@ Tags | Dockerfile | OS Version
|
|||
7.0.0-preview.4-alpine-arm64v8, 7.0-alpine-arm64v8, 7-alpine-arm64v8, 7.0.0-preview.4-alpine, 7.0-alpine, 7-alpine, 7.0.0-preview.4, 7.0, 7 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/monitor/7.0/alpine/arm64v8/Dockerfile) | Alpine 3.15
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/monitor at https://mcr.microsoft.com/v2/dotnet/monitor/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
*Tags not listed in the table above are not supported. See the [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)*
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/runtime-deps:6.0`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
This image contains the native dependencies needed by .NET. It does not include .NET. It is for [self-contained](https://docs.microsoft.com/dotnet/articles/core/deploying/index) applications.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -114,7 +114,6 @@ Tags | Dockerfile | OS Version
|
|||
7.0.0-preview.4-jammy-arm32v7, 7.0-jammy-arm32v7, 7.0.0-preview.4-jammy, 7.0-jammy | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/6.0/jammy/arm32v7/Dockerfile) | Ubuntu 22.04
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/runtime-deps at https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
For tags contained in the old dotnet/core/runtime-deps repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core/runtime-deps/tags/list.
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/runtime:6.0`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
This image contains the .NET runtimes and libraries and is optimized for running .NET apps in production.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -175,7 +175,6 @@ Tag | Dockerfile
|
|||
7.0.0-preview.4-windowsservercore-ltsc2019, 7.0-windowsservercore-ltsc2019 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/windowsservercore-ltsc2019/amd64/Dockerfile)
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/runtime at https://mcr.microsoft.com/v2/dotnet/runtime/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
For tags contained in the old dotnet/core/runtime repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core/runtime/tags/list.
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
* `aspnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:aspnetapp`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
These images contain sample .NET and ASP.NET Core applications.
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -94,7 +94,6 @@ dotnetapp-nanoserver-1809, dotnetapp, latest | [Dockerfile](https://github.com/d
|
|||
aspnetapp-nanoserver-1809, aspnetapp | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile)
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/samples at https://mcr.microsoft.com/v2/dotnet/samples/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
For tags contained in the old dotnet/core/samples repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core/samples/tags/list.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* `6.0` (Current, LTS)
|
||||
* `docker pull mcr.microsoft.com/dotnet/sdk:6.0`
|
||||
|
||||
# About This Image
|
||||
# About
|
||||
|
||||
This image contains the .NET SDK which is comprised of three parts:
|
||||
|
||||
|
@ -15,7 +15,7 @@ Use this image for your development process (developing, building and testing ap
|
|||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image
|
||||
# Usage
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
|
@ -178,7 +178,6 @@ Tag | Dockerfile
|
|||
7.0.100-preview.4-windowsservercore-ltsc2019, 7.0-windowsservercore-ltsc2019 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/sdk/7.0/windowsservercore-ltsc2019/amd64/Dockerfile)
|
||||
|
||||
You can retrieve a list of all available tags for dotnet/sdk at https://mcr.microsoft.com/v2/dotnet/sdk/tags/list.
|
||||
<!--End of generated tags-->
|
||||
|
||||
For tags contained in the old dotnet/core/sdk repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core/sdk/tags/list.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
variables:
|
||||
imageNames.imageBuilder: mcr.microsoft.com/dotnet-buildtools/image-builder:1728424
|
||||
imageNames.imageBuilder: mcr.microsoft.com/dotnet-buildtools/image-builder:1778213
|
||||
imageNames.imageBuilder.withrepo: imagebuilder-withrepo:$(Build.BuildId)-$(System.JobId)
|
||||
imageNames.testRunner: mcr.microsoft.com/dotnet-buildtools/prereqs:debian-buster-slim-docker-testrunner-974165
|
||||
imageNames.testRunner.withrepo: testrunner-withrepo:$(Build.BuildId)-$(System.JobId)
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
[.NET](https://docs.microsoft.com/dotnet/core/) is a general purpose development platform maintained by Microsoft and the .NET community on [GitHub](https://github.com/dotnet/core). It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
is-mcr: Indicates whether the readme is being generated for the MCR portal
|
||||
}}{{ARGS["top-header"]}} About
|
||||
{{if ARGS["is-mcr"]:{{InsertTemplate("Announcement.md", [ "leading-line-break": "true"])}}}}
|
||||
{{InsertTemplate(join(["About", when(IS_PRODUCT_FAMILY, "product-family", SHORT_REPO), "md"], "."))}}
|
||||
|
||||
.NET has several capabilities that make development easier, including automatic memory management, (runtime) generic types, reflection, asynchrony, concurrency, and native interop. Millions of developers take advantage of these capabilities to efficiently build high-quality applications.
|
||||
|
||||
You can use C# or F# to write .NET apps.
|
||||
|
||||
- [C#](https://docs.microsoft.com/dotnet/csharp/) is simple, powerful, type-safe, and object-oriented while retaining the expressiveness and elegance of C-style languages. Anyone familiar with C and similar languages will find it straightforward to write in C#.
|
||||
- [F#](https://docs.microsoft.com/dotnet/fsharp/) is a cross-platform, open-source, functional programming language for .NET. It also includes object-oriented and imperative programming.
|
||||
|
||||
[.NET](https://github.com/dotnet/core) is open source (MIT and Apache 2 licenses) and was contributed to the [.NET Foundation](http://dotnetfoundation.org) by Microsoft in 2014. It can be freely adopted by individuals and companies, including for personal, academic or commercial purposes. Multiple companies use .NET as part of apps, tools, new platforms and hosting services.
|
||||
|
||||
You are invited to [contribute new features](https://github.com/dotnet/core/blob/master/CONTRIBUTING.md), fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
> https://docs.microsoft.com/dotnet/core/
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
[.NET](https://docs.microsoft.com/dotnet/core/) is a general purpose development platform maintained by Microsoft and the .NET community on [GitHub](https://github.com/dotnet/core). It is cross-platform, supporting Windows, macOS and Linux, and can be used in device, cloud, and embedded/IoT scenarios.
|
||||
|
||||
.NET has several capabilities that make development easier, including automatic memory management, (runtime) generic types, reflection, asynchrony, concurrency, and native interop. Millions of developers take advantage of these capabilities to efficiently build high-quality applications.
|
||||
|
||||
You can use C# or F# to write .NET apps.
|
||||
|
||||
- [C#](https://docs.microsoft.com/dotnet/csharp/) is simple, powerful, type-safe, and object-oriented while retaining the expressiveness and elegance of C-style languages. Anyone familiar with C and similar languages will find it straightforward to write in C#.
|
||||
- [F#](https://docs.microsoft.com/dotnet/fsharp/) is a cross-platform, open-source, functional programming language for .NET. It also includes object-oriented and imperative programming.
|
||||
|
||||
[.NET](https://github.com/dotnet/core) is open source (MIT and Apache 2 licenses) and was contributed to the [.NET Foundation](http://dotnetfoundation.org) by Microsoft in 2014. It can be freely adopted by individuals and companies, including for personal, academic or commercial purposes. Multiple companies use .NET as part of apps, tools, new platforms and hosting services.
|
||||
|
||||
You are invited to [contribute new features](https://github.com/dotnet/core/blob/master/CONTRIBUTING.md), fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
|
||||
|
||||
> https://docs.microsoft.com/dotnet/core/
|
|
@ -0,0 +1,12 @@
|
|||
{{
|
||||
_ ARGS:
|
||||
leading-line-break: Indicates whether to include a leading line break
|
||||
trailing-line-break: Indicates whether to include a trailing line break
|
||||
}}{{if match(PARENT_REPO, "nightly") || VARIABLES["branch"] = "nightly"
|
||||
:{{if ARGS["leading-line-break"]:
|
||||
}}**IMPORTANT**
|
||||
**The images from the dotnet/{{if IS_PRODUCT_FAMILY:nightly^else:{{PARENT_REPO}}}} repositories include last-known-good (LKG) builds for the next release of [.NET](https://github.com/dotnet/core).**
|
||||
|
||||
**See [dotnet](https://hub.docker.com/_/microsoft-dotnet/) for images with official releases of [.NET](https://github.com/dotnet/core).**
|
||||
{{if ARGS["trailing-line-break"]:
|
||||
}}}}
|
|
@ -0,0 +1,20 @@
|
|||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}} Featured Tags
|
||||
|
||||
{{if match(SHORT_REPO, "samples")
|
||||
:* `dotnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:dotnetapp`
|
||||
* `aspnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:aspnetapp`^
|
||||
elif match(SHORT_REPO, "monitor"):{{if VARIABLES["branch"] = "nightly":* `7` (Preview)
|
||||
* `docker pull {{FULL_REPO}}:7`
|
||||
* `6` (Preview)
|
||||
* `docker pull {{FULL_REPO}}:6`^
|
||||
else:* `6` (Current)
|
||||
* `docker pull {{FULL_REPO}}:6`}}^
|
||||
else:{{if VARIABLES["branch"] = "nightly":* `7.0` (Preview)
|
||||
* `docker pull {{FULL_REPO}}:7.0`
|
||||
}}* `6.0` (Current, LTS)
|
||||
* `docker pull {{FULL_REPO}}:6.0`}}
|
|
@ -12,17 +12,29 @@ if ($Validate) {
|
|||
|
||||
$repoRoot = (Get-Item "$PSScriptRoot").Parent.Parent.FullName
|
||||
|
||||
function CopyReadme([string]$containerName, [string]$readmeRelativePath) {
|
||||
$readmeDir = Split-Path $readmeRelativePath -Parent
|
||||
Exec "docker cp ${containerName}:/repo/$readmeRelativePath $repoRoot/$readmeDir"
|
||||
}
|
||||
|
||||
$onDockerfilesGenerated = {
|
||||
param($ContainerName)
|
||||
|
||||
if (-Not $Validate) {
|
||||
Exec "docker cp ${ContainerName}:/repo/README.aspnet.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.monitor.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.runtime-deps.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.runtime.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.samples.md $repoRoot"
|
||||
Exec "docker cp ${ContainerName}:/repo/README.sdk.md $repoRoot"
|
||||
CopyReadme $ContainerName "README.aspnet.md"
|
||||
CopyReadme $ContainerName "README.md"
|
||||
CopyReadme $ContainerName "README.monitor.md"
|
||||
CopyReadme $ContainerName "README.runtime-deps.md"
|
||||
CopyReadme $ContainerName "README.runtime.md"
|
||||
CopyReadme $ContainerName "README.samples.md"
|
||||
CopyReadme $ContainerName "README.sdk.md"
|
||||
|
||||
CopyReadme $ContainerName ".mcr/portal/README.aspnet.portal.md"
|
||||
CopyReadme $ContainerName ".mcr/portal/README.monitor.portal.md"
|
||||
CopyReadme $ContainerName ".mcr/portal/README.runtime-deps.portal.md"
|
||||
CopyReadme $ContainerName ".mcr/portal/README.runtime.portal.md"
|
||||
CopyReadme $ContainerName ".mcr/portal/README.samples.portal.md"
|
||||
CopyReadme $ContainerName ".mcr/portal/README.sdk.portal.md"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{{
|
||||
set headerArgs to [ "top-header": "##", "is-mcr": "true" ]
|
||||
}}{{InsertTemplate("About.md", headerArgs)}}
|
||||
|
||||
{{InsertTemplate("FeaturedTags.md", headerArgs)}}
|
||||
|
||||
{{InsertTemplate("RelatedRepos.md", headerArgs)}}
|
||||
|
||||
{{InsertTemplate("Use.md", headerArgs)}}
|
||||
|
||||
{{InsertTemplate("Support.md", headerArgs)}}
|
|
@ -1,25 +1,8 @@
|
|||
{{if match(PARENT_REPO, "nightly") || VARIABLES["branch"] = "nightly"
|
||||
:The images from the dotnet/{{if IS_PRODUCT_FAMILY:nightly^else:{{PARENT_REPO}}}} repositories include last-known-good (LKG) builds for the next release of [.NET](https://github.com/dotnet/core).
|
||||
|
||||
See [dotnet](https://hub.docker.com/_/microsoft-dotnet/) for images with official releases of [.NET](https://github.com/dotnet/core).
|
||||
|
||||
}}{{if !IS_PRODUCT_FAMILY:# Featured Tags
|
||||
|
||||
{{if match(SHORT_REPO, "samples")
|
||||
:* `dotnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:dotnetapp`
|
||||
* `aspnetapp` [(*Dockerfile*)](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile)
|
||||
* `docker pull mcr.microsoft.com/dotnet/samples:aspnetapp`
|
||||
^elif match(SHORT_REPO, "monitor"):{{if VARIABLES["branch"] = "nightly":* `7` (Preview)
|
||||
* `docker pull {{FULL_REPO}}:7`
|
||||
}}* `6` (Current)
|
||||
* `docker pull {{FULL_REPO}}:6`
|
||||
^else:{{if VARIABLES["branch"] = "nightly":* `7.0` (Preview)
|
||||
* `docker pull {{FULL_REPO}}:7.0`
|
||||
}}* `6.0` (Current, LTS)
|
||||
* `docker pull {{FULL_REPO}}:6.0`
|
||||
}}}}{{if IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"
|
||||
:# Featured Repos
|
||||
{{
|
||||
set headerArgs to [ "top-header": "#" ]
|
||||
}}{{InsertTemplate("Announcement.md", [ "trailing-line-break": "true"])}}{{
|
||||
if !IS_PRODUCT_FAMILY:{{InsertTemplate("FeaturedTags.md", headerArgs)}}
|
||||
}}{{if IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main":# Featured Repos
|
||||
|
||||
* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
|
@ -36,81 +19,16 @@ See [dotnet](https://hub.docker.com/_/microsoft-dotnet/) for images with officia
|
|||
* [dotnet/nightly/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps/): .NET Runtime Dependencies (Preview)
|
||||
* [dotnet/nightly/monitor](https://hub.docker.com/_/microsoft-dotnet-nightly-monitor/): .NET Monitor Tool (Preview)
|
||||
}}
|
||||
# About {{if IS_PRODUCT_FAMILY:.NET^else:This Image}}
|
||||
{{InsertTemplate("About.md", headerArgs)}}
|
||||
|
||||
{{InsertTemplate(join(filter(["About", SHORT_REPO, "md"], len), "."))}}
|
||||
{{InsertTemplate("Use.md", headerArgs)}}
|
||||
|
||||
Watch [discussions](https://github.com/dotnet/dotnet-docker/discussions/categories/announcements) for Docker-related .NET announcements.
|
||||
|
||||
# How to Use the Image{{if IS_PRODUCT_FAMILY:s}}
|
||||
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
{{InsertTemplate(join(filter(["Use", SHORT_REPO, "md"], len), "."))}}
|
||||
|
||||
# Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
{{if (!IS_PRODUCT_FAMILY || VARIABLES["branch"] = "nightly")
|
||||
:* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "sdk")
|
||||
:* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "aspnet")
|
||||
:* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "runtime")
|
||||
:* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "runtime-deps")
|
||||
:* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "monitor")
|
||||
:* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
}}{{if ((!IS_PRODUCT_FAMILY || VARIABLES["branch"] = "nightly") && SHORT_REPO != "samples")
|
||||
:* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "sdk") || (PARENT_REPO = "dotnet" && SHORT_REPO = "sdk") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/sdk](https://hub.docker.com/_/microsoft-dotnet-nightly-sdk/): .NET SDK (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "aspnet") || (PARENT_REPO = "dotnet" && SHORT_REPO = "aspnet") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/aspnet](https://hub.docker.com/_/microsoft-dotnet-nightly-aspnet/): ASP.NET Core Runtime (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "runtime") || (PARENT_REPO = "dotnet" && SHORT_REPO = "runtime") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/runtime](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime/): .NET Runtime (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "runtime-deps") || (PARENT_REPO = "dotnet" && SHORT_REPO = "runtime-deps") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps/): .NET Runtime Dependencies (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "monitor") || (PARENT_REPO = "dotnet" && SHORT_REPO = "monitor") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/monitor](https://hub.docker.com/_/microsoft-dotnet-nightly-monitor/): .NET Monitor Tool (Preview)
|
||||
}}
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
||||
|
||||
{{if !IS_PRODUCT_FAMILY:# Full Tag Listing
|
||||
{{InsertTemplate("RelatedRepos.md", headerArgs)}}
|
||||
{{if !IS_PRODUCT_FAMILY:
|
||||
# Full Tag Listing
|
||||
<!--End of generated tags-->
|
||||
|
||||
{{if SHORT_REPO != "monitor":For tags contained in the old dotnet/core{{if (PARENT_REPO = "nightly"):-nightly}}/{{SHORT_REPO}} repository, you can retrieve a list of those tags at https://mcr.microsoft.com/v2/dotnet/core{{if (PARENT_REPO = "nightly"):-nightly}}/{{SHORT_REPO}}/tags/list.
|
||||
|
||||
}}*Tags not listed in the table above are not supported. See the [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)*
|
||||
|
||||
}}# Support
|
||||
|
||||
## Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
## Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
## Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
# License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
||||
}}
|
||||
{{InsertTemplate("Support.md", headerArgs)}}
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}} Related Repos
|
||||
|
||||
.NET:
|
||||
|
||||
{{if (!IS_PRODUCT_FAMILY || VARIABLES["branch"] = "nightly")
|
||||
:* [dotnet](https://hub.docker.com/_/microsoft-dotnet/): .NET
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "sdk")
|
||||
:* [dotnet/sdk](https://hub.docker.com/_/microsoft-dotnet-sdk/): .NET SDK
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "aspnet")
|
||||
:* [dotnet/aspnet](https://hub.docker.com/_/microsoft-dotnet-aspnet/): ASP.NET Core Runtime
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "runtime")
|
||||
:* [dotnet/runtime](https://hub.docker.com/_/microsoft-dotnet-runtime/): .NET Runtime
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "runtime-deps")
|
||||
:* [dotnet/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-runtime-deps/): .NET Runtime Dependencies
|
||||
}}{{if (PARENT_REPO = "dotnet" && SHORT_REPO != "monitor")
|
||||
:* [dotnet/monitor](https://hub.docker.com/_/microsoft-dotnet-monitor/): .NET Monitor Tool
|
||||
}}{{if ((!IS_PRODUCT_FAMILY || VARIABLES["branch"] = "nightly") && SHORT_REPO != "samples")
|
||||
:* [dotnet/samples](https://hub.docker.com/_/microsoft-dotnet-samples/): .NET Samples
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "sdk") || (PARENT_REPO = "dotnet" && SHORT_REPO = "sdk") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/sdk](https://hub.docker.com/_/microsoft-dotnet-nightly-sdk/): .NET SDK (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "aspnet") || (PARENT_REPO = "dotnet" && SHORT_REPO = "aspnet") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/aspnet](https://hub.docker.com/_/microsoft-dotnet-nightly-aspnet/): ASP.NET Core Runtime (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "runtime") || (PARENT_REPO = "dotnet" && SHORT_REPO = "runtime") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/runtime](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime/): .NET Runtime (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "runtime-deps") || (PARENT_REPO = "dotnet" && SHORT_REPO = "runtime-deps") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/runtime-deps](https://hub.docker.com/_/microsoft-dotnet-nightly-runtime-deps/): .NET Runtime Dependencies (Preview)
|
||||
}}{{if ((PARENT_REPO = "nightly" && SHORT_REPO != "monitor") || (PARENT_REPO = "dotnet" && SHORT_REPO = "monitor") || (IS_PRODUCT_FAMILY && VARIABLES["branch"] = "main"))
|
||||
:* [dotnet/nightly/monitor](https://hub.docker.com/_/microsoft-dotnet-nightly-monitor/): .NET Monitor Tool (Preview)
|
||||
}}
|
||||
.NET Framework:
|
||||
|
||||
* [dotnet/framework](https://hub.docker.com/_/microsoft-dotnet-framework/): .NET Framework, ASP.NET and WCF
|
||||
* [dotnet/framework/samples](https://hub.docker.com/_/microsoft-dotnet-framework-samples/): .NET Framework, ASP.NET and WCF Samples
|
|
@ -0,0 +1,28 @@
|
|||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}} Support
|
||||
|
||||
{{ARGS["top-header"]}}# Lifecycle
|
||||
|
||||
* [Microsoft Support for .NET](https://github.com/dotnet/core/blob/main/microsoft-support.md)
|
||||
* [Supported Container Platforms Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-platforms.md)
|
||||
* [Supported Tags Policy](https://github.com/dotnet/dotnet-docker/blob/main/documentation/supported-tags.md)
|
||||
|
||||
{{ARGS["top-header"]}}# Image Update Policy
|
||||
|
||||
* We update the supported .NET images within 12 hours of any updates to their base images (e.g. debian:buster-slim, windows/nanoserver:ltsc2022, buildpack-deps:bionic-scm, etc.).
|
||||
* We publish .NET images as part of releasing new versions of .NET including major/minor and servicing.
|
||||
|
||||
{{ARGS["top-header"]}}# Feedback
|
||||
|
||||
* [File an issue](https://github.com/dotnet/dotnet-docker/issues/new/choose)
|
||||
* [Contact Microsoft Support](https://support.microsoft.com/contactus/)
|
||||
|
||||
{{ARGS["top-header"]}} License
|
||||
|
||||
* Legal Notice: [Container License Information](https://aka.ms/mcr/osslegalnotice)
|
||||
* [.NET license](https://github.com/dotnet/dotnet-docker/blob/main/LICENSE)
|
||||
* [Discover licensing for Linux image contents](https://github.com/dotnet/dotnet-docker/blob/main/documentation/image-artifact-details.md)
|
||||
* [Windows base image license](https://docs.microsoft.com/virtualization/windowscontainers/images-eula) (only applies to Windows containers)
|
||||
* [Pricing and licensing for Windows Server 2019](https://www.microsoft.com/cloud-platform/windows-server-pricing)
|
|
@ -1,4 +1,7 @@
|
|||
## Container sample: Run a web application
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
|
|
|
@ -1,23 +1,9 @@
|
|||
## Container sample: Run a simple application
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}} Usage
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
The [.NET Docker samples](https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md) show various ways to use .NET and Docker together. See [Building Docker Images for .NET Applications](https://docs.microsoft.com/dotnet/core/docker/building-net-docker-images) to learn more.
|
||||
|
||||
Type the following command to run a sample console application:
|
||||
|
||||
```console
|
||||
docker run --rm mcr.microsoft.com/dotnet/samples
|
||||
```
|
||||
|
||||
## Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample web application:
|
||||
|
||||
```console
|
||||
docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/samples:aspnetapp
|
||||
```
|
||||
|
||||
After the application starts, navigate to `http://localhost:8000` in your web browser.
|
||||
|
||||
See [Hosting ASP.NET Core Images with Docker over HTTPS](https://github.com/dotnet/dotnet-docker/blob/main/samples/host-aspnetcore-https.md) to use HTTPS with this image.
|
||||
{{InsertTemplate(join(["Use", when(IS_PRODUCT_FAMILY, "product-family", SHORT_REPO), "md"], "."),
|
||||
[ "top-header": ARGS["top-header"]])}}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
## Container sample: Run the tool
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Container sample: Run the tool
|
||||
|
||||
You can run a container with a pre-built [.NET Docker Image](https://hub.docker.com/_/microsoft-dotnet-monitor/), based on the dotnet-monitor global tool.
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Container sample: Run a simple application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample console application:
|
||||
|
||||
```console
|
||||
docker run --rm mcr.microsoft.com/dotnet/samples
|
||||
```
|
||||
|
||||
{{ARGS["top-header"]}}# Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
Type the following command to run a sample web application:
|
||||
|
||||
```console
|
||||
docker run -it --rm -p 8000:80 --name aspnetcore_sample mcr.microsoft.com/dotnet/samples:aspnetapp
|
||||
```
|
||||
|
||||
After the application starts, navigate to `http://localhost:8000` in your web browser.
|
||||
|
||||
See [Hosting ASP.NET Core Images with Docker over HTTPS](https://github.com/dotnet/dotnet-docker/blob/main/samples/host-aspnetcore-https.md) to use HTTPS with this image.
|
|
@ -1,4 +1,7 @@
|
|||
## Container sample: Run a simple application
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Container sample: Run a simple application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
## Container sample: Run a simple application
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Container sample: Run a simple application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [.NET console sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md).
|
||||
|
||||
|
@ -8,7 +11,7 @@ Type the following command to run a sample console application:
|
|||
docker run --rm mcr.microsoft.com/dotnet/samples
|
||||
```
|
||||
|
||||
## Container sample: Run a web application
|
||||
{{ARGS["top-header"]}}# Container sample: Run a web application
|
||||
|
||||
You can quickly run a container with a pre-built [.NET Docker image](https://hub.docker.com/_/microsoft-dotnet-samples/), based on the [ASP.NET Core sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md).
|
||||
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
## Building .NET Apps with Docker
|
||||
{{
|
||||
_ ARGS:
|
||||
top-header: The string to use as the top-level header.
|
||||
}}{{ARGS["top-header"]}}# Building .NET Apps with Docker
|
||||
|
||||
* [.NET Docker Sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/README.md) - This [sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/dotnetapp/Dockerfile) builds, tests, and runs the sample. It includes and builds multiple projects.
|
||||
* [ASP.NET Core Docker Sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/README.md) - This [sample](https://github.com/dotnet/dotnet-docker/blob/main/samples/aspnetapp/Dockerfile) demonstrates using Docker with an ASP.NET Core Web App.
|
||||
|
||||
## Develop .NET Apps in a Container
|
||||
{{ARGS["top-header"]}}# Develop .NET Apps in a Container
|
||||
|
||||
The following samples show how to develop, build and test .NET applications with Docker without the need to install the .NET SDK.
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"readme": "README.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readme": {
|
||||
"path": "README.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
"registry": "mcr.microsoft.com",
|
||||
"variables": {
|
||||
"syndicatedRuntimeDepsRepo": "dotnet/core/runtime-deps",
|
||||
|
@ -15,8 +17,16 @@
|
|||
{
|
||||
"id": "runtime-deps",
|
||||
"name": "dotnet/runtime-deps",
|
||||
"readme": "README.runtime-deps.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.runtime-deps.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.runtime-deps.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/runtime-deps-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
@ -1335,8 +1345,16 @@
|
|||
{
|
||||
"id": "runtime",
|
||||
"name": "dotnet/runtime",
|
||||
"readme": "README.runtime.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.runtime.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.runtime.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/runtime-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
@ -3263,8 +3281,16 @@
|
|||
{
|
||||
"id": "aspnet",
|
||||
"name": "dotnet/aspnet",
|
||||
"readme": "README.aspnet.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.aspnet.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.aspnet.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/aspnet-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
@ -5242,8 +5268,16 @@
|
|||
{
|
||||
"id": "sdk",
|
||||
"name": "dotnet/sdk",
|
||||
"readme": "README.sdk.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.sdk.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.sdk.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/sdk-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
@ -6921,8 +6955,16 @@
|
|||
{
|
||||
"id": "monitor",
|
||||
"name": "dotnet/monitor",
|
||||
"readme": "README.monitor.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.monitor.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.monitor.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/monitor-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
|
|
@ -4,8 +4,16 @@
|
|||
{
|
||||
"id": "samples",
|
||||
"name": "dotnet/samples",
|
||||
"readme": "README.samples.md",
|
||||
"readmeTemplate": "eng/readme-templates/README.md",
|
||||
"readmes": [
|
||||
{
|
||||
"path": "README.samples.md",
|
||||
"templatePath": "eng/readme-templates/README.md"
|
||||
},
|
||||
{
|
||||
"path": ".mcr/portal/README.samples.portal.md",
|
||||
"templatePath": "eng/readme-templates/README.mcr.md"
|
||||
}
|
||||
],
|
||||
"mcrTagsMetadataTemplate": "eng/mcr-tags-metadata-templates/samples-tags.yml",
|
||||
"images": [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче