dotnet-docker/README.monitor.md

9.4 KiB

Featured Tags

  • 8 (Long-Term Support)
    • docker pull mcr.microsoft.com/dotnet/monitor:8
  • 6 (Long-Term Support)
    • docker pull mcr.microsoft.com/dotnet/monitor:6

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 for Docker-related .NET announcements.

New: Ubuntu Chiseled Images

Ubuntu Chiseled .NET images are a type of "distroless" container image that contain only the minimal set of packages .NET needs, with everything else removed. These images offer dramatically smaller deployment sizes and attack surface by including only the minimal set of packages required to run .NET applications.

Please see the Ubuntu Chiseled + .NET documentation page for more info.

Usage

The .NET Docker samples show various ways to use .NET and Docker together. See Building Docker Images for .NET Applications to learn more.

Container sample: Run the tool

You can run a container with a pre-built .NET Docker Image, based on the dotnet-monitor global tool.

See the documentation 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.

Related Repositories

.NET:

.NET Framework:

Full Tag Listing

Linux amd64 Tags

Tags Dockerfile OS Version
8.0.3-ubuntu-chiseled-amd64, 8.0-ubuntu-chiseled-amd64, 8-ubuntu-chiseled-amd64, 8.0.3-ubuntu-chiseled, 8.0-ubuntu-chiseled, 8-ubuntu-chiseled, 8.0.3, 8.0, 8, latest Dockerfile Ubuntu 22.04
8.0.3-cbl-mariner-distroless-amd64, 8.0-cbl-mariner-distroless-amd64, 8-cbl-mariner-distroless-amd64, 8.0.3-cbl-mariner-distroless, 8.0-cbl-mariner-distroless, 8-cbl-mariner-distroless Dockerfile CBL-Mariner 2.0
6.3.7-alpine-amd64, 6.3-alpine-amd64, 6-alpine-amd64, 6.3.7-alpine, 6.3-alpine, 6-alpine, 6.3.7, 6.3, 6 Dockerfile Alpine 3.20
6.3.7-ubuntu-chiseled-amd64, 6.3-ubuntu-chiseled-amd64, 6-ubuntu-chiseled-amd64, 6.3.7-ubuntu-chiseled, 6.3-ubuntu-chiseled, 6-ubuntu-chiseled Dockerfile Ubuntu 22.04
6.3.7-cbl-mariner-amd64, 6.3-cbl-mariner-amd64, 6-cbl-mariner-amd64, 6.3.7-cbl-mariner, 6.3-cbl-mariner, 6-cbl-mariner Dockerfile CBL-Mariner 2.0
6.3.7-cbl-mariner-distroless-amd64, 6.3-cbl-mariner-distroless-amd64, 6-cbl-mariner-distroless-amd64, 6.3.7-cbl-mariner-distroless, 6.3-cbl-mariner-distroless, 6-cbl-mariner-distroless Dockerfile CBL-Mariner 2.0
.NET Monitor Preview Tags
Tags Dockerfile OS Version
9.0.0-preview.6-amd64, 9.0-preview-amd64, 9.0.0-preview.6, 9.0-preview, 9-preview Dockerfile Azure Linux 3.0

Linux arm64 Tags

Tags Dockerfile OS Version
8.0.3-ubuntu-chiseled-arm64v8, 8.0-ubuntu-chiseled-arm64v8, 8-ubuntu-chiseled-arm64v8, 8.0.3-ubuntu-chiseled, 8.0-ubuntu-chiseled, 8-ubuntu-chiseled, 8.0.3, 8.0, 8, latest Dockerfile Ubuntu 22.04
8.0.3-cbl-mariner-distroless-arm64v8, 8.0-cbl-mariner-distroless-arm64v8, 8-cbl-mariner-distroless-arm64v8, 8.0.3-cbl-mariner-distroless, 8.0-cbl-mariner-distroless, 8-cbl-mariner-distroless Dockerfile CBL-Mariner 2.0
6.3.7-alpine-arm64v8, 6.3-alpine-arm64v8, 6-alpine-arm64v8, 6.3.7-alpine, 6.3-alpine, 6-alpine, 6.3.7, 6.3, 6 Dockerfile Alpine 3.20
6.3.7-ubuntu-chiseled-arm64v8, 6.3-ubuntu-chiseled-arm64v8, 6-ubuntu-chiseled-arm64v8, 6.3.7-ubuntu-chiseled, 6.3-ubuntu-chiseled, 6-ubuntu-chiseled Dockerfile Ubuntu 22.04
6.3.7-cbl-mariner-arm64v8, 6.3-cbl-mariner-arm64v8, 6-cbl-mariner-arm64v8, 6.3.7-cbl-mariner, 6.3-cbl-mariner, 6-cbl-mariner Dockerfile CBL-Mariner 2.0
6.3.7-cbl-mariner-distroless-arm64v8, 6.3-cbl-mariner-distroless-arm64v8, 6-cbl-mariner-distroless-arm64v8, 6.3.7-cbl-mariner-distroless, 6.3-cbl-mariner-distroless, 6-cbl-mariner-distroless Dockerfile CBL-Mariner 2.0
.NET Monitor Preview Tags
Tags Dockerfile OS Version
9.0.0-preview.6-arm64v8, 9.0-preview-arm64v8, 9.0.0-preview.6, 9.0-preview, 9-preview Dockerfile Azure Linux 3.0

You can retrieve a list of all available tags for dotnet/monitor at https://mcr.microsoft.com/v2/dotnet/monitor/tags/list.

Tags not listed in the table above are not supported. See the Supported Tags Policy

Support

Lifecycle

Image Update Policy

  • We update supported .NET images within 12 hours of any updates to their base images (e.g. debian:bookworm-slim, windows/nanoserver:ltsc2022, etc.).
  • We re-build all .NET images as part of releasing new versions of .NET including new major/minor versions and servicing.
  • Distroless images such as Ubuntu Chiseled have no base image, and as such will only be updated with .NET releases and CVE fixes as described below.

CVE Update Policy

.NET container images are regularly monitored for the presence of CVEs. A given image will be rebuilt to pick up fixes for a CVE when:

  • We detect the image contains a CVE with a CVSS score of "Critical"
  • AND the CVE is in a package that is added in our Dockerfile layers (meaning the CVE is in a package we explicitly install or any transitive dependencies of those packages)
  • AND there is a CVE fix for the package available in the affected base image's package repository.

Please refer to the Security Policy and Container Vulnerability Workflow for more detail about what to do when a CVE is encountered in a .NET image.

Feedback

License