Search

Chapter 2. Known issues

download PDF
  1. NodeJS is no longer included in the .NET 8.0 SDK image.

    For information on how to port an application that depends on Node.js from an earlier .NET version to the .NET 8.0 image, see the Porting web applications with NodeJS front-ends to build with .NET 8.0 UBI images Knowledgebase solution.

  2. The random user used by OpenShift Container Platform is no longer added to the /etc/passwd file on OpenShift Container Platform 3.11. As a result, the .NET Environment.UserName property returns an empty string.
  3. The DOTNET_CORE_VERSION and DOTNET_FRAMEWORK environment variables were removed from the image. Instead, The image now includes exact versions of the .NET framework, the ASP.NET Core frameworks, and the SDK version in the DOTNET_VERSION, ASPNET_VERSION, and DOTNET_SDK_VERSION environment variables, respectively..
  4. The DOTNET_SSL_DIRS environment variable used to load certificates from additional directories is no longer handled by the image entrypoint. The default s2i (source-to-image) assemble and run scripts still process the environment variable. To trust certificates in all cases, use SSL_CERT_DIR instead.
  5. In .NET 8.0, you can no longer specify the command and its arguments to run in a container as a single string. You need to pass the arguments as separate strings. The new syntax also works for the earlier .NET versions.

    For example, instead of podman run registry.access.redhat.com/ubi8/dotnet-70 “echo hello”, use podman run registry.access.redhat.com/ubi8/dotnet-80 echo hello.

  6. The dnf command is not available.

    To reduce image size, .NET 8.0 container images use the ubi-minimal base image instead of the ubi base image. The ubi-minimal image uses the microdnf command as its package manager instead of the dnf command.

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

    For more information about the microdnf command, please see the microdnf man page.

See Known Issues in the .NET 8.0 Release Notes for .NET 8.0 RPM packages for a list of known issues and workarounds for RPMs.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.