openeuler/dotnet-runtimeThe official Dotnet Runtime (.NET Runtime) docker image.
Maintained by: openEuler CloudNative SIG.
Where to get help: openEuler CloudNative SIG, openEuler.
Current Dotnet Runtime (.NET Runtime) docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
.NET is a free, cross-platform, open-source developer platform for building many kinds of applications. It can run programs written in multiple languages, with C# being the most popular. It relies on a high-performance runtime that is used in production by many high-scale apps.
Learn more about Dotnet Runtime on learn.microsoft.com.
The tag of each dotnet-runtime docker image is consist of the version of dotnet-runtime and the version of basic image. The details are as follows
| Tag | Currently | Architectures |
|---|---|---|
| 10.0.0-oe2403sp2 | dotnet 10.0.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 |
| 8.0.3-oe2203sp3 | Dotnet-runtime 8.0.3 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
| 8.0.7-oe2203sp3 | Dotnet-runtime 8.0.7 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
| 8.0.8-oe2203sp3 | Dotnet-runtime 8.0.8 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
| 8.0.10-oe2003sp4 | Dotnet-runtime 8.0.10 on openEuler 20.03-LTS-SP4 | amd64, arm64 |
| 8.0.10-oe2203sp1 | Dotnet-runtime 8.0.10 on openEuler 22.03-LTS-SP1 | amd64, arm64 |
| 8.0.10-oe2203sp3 | Dotnet-runtime 8.0.10 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
| 8.0.10-oe2203sp4 | Dotnet-runtime 8.0.10 on openEuler 22.03-LTS-SP4 | amd64, arm64 |
| 8.0.10-oe2403lts | Dotnet-runtime 8.0.10 on openEuler 24.03-LTS | amd64, arm64 |
In this usage, users can select the corresponding {Tag} based on their requirements.
Pull the openeuler/dotnet-runtime image from docker
bashdocker pull openeuler/dotnet-runtime:{Tag}
Start a dotnet-runtime instance
bashdocker run -d --name my-dotnet-runtime openeuler/dotnet-runtime:{Tag}
An example with HelloWorld application example
Create a HelloWorld.csproj file with the following content
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> </Project>
Create a Program.cs file with the following code
Console.WriteLine("Hello, World!");
Publish the .NET application (you need the "dotnet8" package)
dotnet publish -c Release -o app
Run the app with "openeuler/dotnet-runtime:8.0.3-oe2203sp3"
docker run --rm -v $PWD/app:/app openeuler/dotnet-runtime:8.0.3-oe2203sp3 /app/HelloWorld.dll Hello, World!
View container running logs
bashdocker logs -f my-dotnet-runtime
To get an interactive shell
bashdocker run -it --entrypoint /bin/bash --name my-dotnet-runtime openeuler/dotnet-runtime:{Tag}
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务