.NET Core is a general purpose development platform featuring automatic memory management and modern programming languages. It allows users to build high quality applications efficiently. .NET Core is available on Red Hat Enterprise Linux (RHEL 7) and {product-title} via certified containers. .NET Core offers:
-
The ability to follow a microservices-based approach, where some components are built with .NET and others with Java, but all can run on a common, supported platform in Red Hat Enterprise Linux and {product-title}.
-
The capacity to more easily develop new .NET Core workloads on Windows; customers are able to deploy and run on either Red Hat Enterprise Linux or Windows Server.
-
A heterogeneous data center, where the underlying infrastructure is capable of running .NET applications without having to rely solely on Windows Server.
-
Access to many of the popular development frameworks such as .NET, Java, Ruby, and Python from within {product-title}.
-
.NET Core version 1.0
-
Supported on Red Hat Enterprise Linux (RHEL) 7
-
The RHEL 7 images are available through Red Hat’s subscription registry using:
$ docker pull registry.access.redhat.com/dotnet/dotnetcore-10-rhel7
To use these images, you can either access them directly from these image registries, or push them into your {product-title} Docker registry. Additionally, you can create an image stream that points to the image, either in your Docker registry or at the external location. Your {product-title} resources can then reference the image stream definition.
The .NET Core image currently does not support any environment variables. No configuration is necessary.
Important
|
The .NET image stream must first be installed. If you ran a standard installation, the image stream will be present. |
An image can be used to build an application by running oc new-app
against a
sample repository:
$ oc new-app https://github.com/redhat-developer/s2i-dotnetcore --context-dir=1.0/test/asp-net-hello-world