Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

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

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    What’s up next?

    Learning Path red_hat_build_of_podman_desktop 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
    • Report a website issue
    • 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
    © 2026 Red Hat

    Red Hat legal and privacy links

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

    Chat Support

    Please log in with your Red Hat account to access chat support.