Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • See all Red Hat products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Red Hat OpenShift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer experience

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform for applications and services
    • Secure development & architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & cloud native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See all cheat sheets

    Documentation

    • Product documentation
    • API catalog
    • Legacy documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore the Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

What you need to know about Red Hat's .NET container images

December 1, 2025
Tom Deseyn
Related topics:
.NETContainers
Related products:
Red Hat Enterprise LinuxRed Hat OpenShift Container Platform

    Red Hat provides .NET container images that are freely available to everyone under the UBI license. It is distinguished by their end-to-end security and trusted software supply chain practices, including active CVE monitoring and detailed SBOMs. These images offer optional enterprise support on Red Hat platforms and are available for multiple architectures, including IBM Z and Power Systems, with separate repositories for the .NET SDK, ASP.NET Core runtime, and .NET runtime. This article discusses why you might choose Red Hat's .NET images and provides an overview of available images.

    Why use a .NET image from Red Hat

    Red Hat .NET images are available under Red Hat's Universal Base Image (UBI) license, which means you can freely use, modify, extend, and redistribute them. You don’t need a Red Hat subscription.

    Enterprise support available

    When running on a Red Hat supported platform, Red Hat Enterprise Linux (RHEL) or OpenShift, these images are supported by Red Hat. On other platforms, community support is available.

    Regardless of the support model, the images receive security fixes and patches.

    Security and software supply chain

    Building a container image is easy. Building a trusted one is very difficult.

    Red Hat container images are completely built by Red Hat. This is different from, for example, an image that uses the Alpine base image (maintained by the Alpine community) which adds Microsoft built .NET packages on top.

    Everything in the image is open-source. For each component, the process starts with obtaining the sources in a secure manner. Once those are in a trusted Git repository, there are different builds, tests, reviews, artifact stores until we get to the image from the Red Hat Container Registry. This software supply chain uses software bill of materials (SBOMs), hermetic builds, and attestations to have a detailed, immutable record of what is in the image and how it was built.

    Red Hat actively monitors all these components for CVEs. The software supply chain enables us to know exactly what images are affected and need an update to address vulnerabilities.

    Additional architectures

    In addition to 64-bit AMD/Intel and 64-bit ARM architectures provided by Microsoft, Red Hat images are also available for IBM Z and IBM Power Systems, Little Endian (POWER9).

    .NET images

    The Red Hat Container Registry (registry.access.redhat.com) provides .NET SDK images and .NET runtime images. Previously, each .NET version had its own image repository, such as ubi8/dotnet-80 for the .NET 8 SDK image. For easier usage, the images are now also available from dotnet/<name> repositories that provide different .NET versions through tags, such as dotnet/sdk:8.0. These repositories are available.

    The dotnet/sdk repository provides the SDK images. Use this repository to build .NET applications and libraries.

    # Run the .NET 8.0 SDK container image.
    $ podman run registry.access.redhat.com/dotnet/sdk:8.0 dotnet --version
    8.0.122

    The dotnet/aspnet repository provides base images for ASP.NET Core applications. A straightforward way to use it is with the .NET SDK's built-in container tooling by setting the ContainerBaseImage property.

    # Publish an ASP.NET Core 9.0 app as a container image using Red Hat's ASP.NET Core runtime image as the base image.
    $ dotnet publish /p:ContainerBaseImage=registry.access.redhat.com/dotnet/aspnet:9.0 /t:PublishContainer -v detailed

    Starting with .NET 10, the dotnet/runtime repository provides smaller base images for framework-dependent non-web worker applications. These are also directly usable with .NET’s built-in container tooling.

    # Publish a (non-web) .NET 10.0 app as a container image using Red Hat's .NET runtime image as the base image.
    $ dotnet publish /p:ContainerBaseImage=registry.access.redhat.com/dotnet/runtime:10.0 /t:PublishContainer -v detailed

    Learn more

    Now that you've learned about the advantages of .NET container images from Red Hat, you can find more information in the Red Hat .NET documentation. To learn more about building container images with the .NET SDK, you can go through the Containerize a .NET app tutorial and consult the reference documentation.

    Related Posts

    • .NET 10 is now available for RHEL and OpenShift

    • .NET container troubleshooting in OpenShift 4

    • Build container images in CI/CD with Tekton and Buildpacks

    • How to name, version, and reference container images

    Recent Posts

    • What you need to know about Red Hat's .NET container images

    • How to set up Red Hat Lightspeed Model Context Protocol

    • Lift and shift a .NET application to OpenShift

    • Run Ruby applications in FIPS mode on Red Hat Enterprise Linux

    • Use NetApp to run SAP on OpenShift Virtualization with a dual boot on bare metal

    What’s up next?

    Learning Path Bootable-Container-images-LP-feature-image

    Build and run a bootable container image with image mode for RHEL and Podman Desktop

    Learn how to locally build and run a bootable container (bootc) image in...
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue