.NET 3.1 application, running in a container
Dotnet 3.1 reports incorrect values for Environment.ProcessorCount in a container.
This is a design decision, currently under discussion.
The article at  will have current information.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.