이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Known issues for containers


Red Hat .NET container images are optimized for minimal footprint and security, which results in differences from standard environments. For instance, to reduce image size, full-featured package managers are replaced with lightweight alternatives.

The following known issues apply to the .NET 10.0 container images:

  1. The dnf command is not available

    To reduce image size, the .NET 10.0 container images are based on the ubi-minimal base image instead of the standard ubi image. The ubi-minimal image provides microdnf as its package manager, not dnf.

    If your Dockerfiles or Containerfiles use the dnf command, you must update them to use microdnf instead.

    For more information, see the microdnf(8) man page.

  2. UBI-prefixed repositories no longer use .NET version tags

    The UBI-prefixed repositories (for example, ubi9/dotnet-100 and ubi9/dotnet-100-runtime) no longer include tags for the .NET version.

    Following the standard for UBI repositories, tagging is now based on the RHEL version. To get the latest version, either omit the tag (which defaults to latest) or explicitly use the latest tag.

  3. ASP.NET Core runtime is in a separate image

    Starting with .NET 10.0, the .NET runtime images (for example, registry.access.redhat.com/ubi9/dotnet-100-runtime) no longer include the ASP.NET Core runtime.

    If your application requires the ASP.NET Core runtime, you must use the new ASP.NET Core runtime image (for example, registry.access.redhat.com/ubi9/dotnet-100-aspnet).

  4. ASP.NET Core runtime is in a separate ImageStream

    Starting with .NET 10.0, the s2i-dotnetcore OpenShift dotnet-runtime ImageStream no longer includes the ASP.NET Core runtime.

    If your application requires the ASP.NET Core runtime, you must use the new dotnet-aspnet ImageStream instead.

  5. The default WORKDIR is / instead of /opt/app-root/app

    Starting with .NET 10.0, the .NET runtime and ASP.NET Core container images use / as the default working directory. This change aligns Red Hat images with the default used by other vendors.

    The WORKDIR instruction sets the working directory for any subsequent RUN, CMD, ENTRYPOINT, COPY, and ADD instructions. If your Dockerfiles or Containerfiles rely on the previous default working directory, you must add an explicit WORKDIR directive. For example:

    WORKDIR /app

For a list of known issues related to the core RPM packages, see the Known Issues section in the .NET 10.0 Release Notes for .NET 10.0 RPM packages.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동