Sign inSign up

kkbruce/aspnetcore

By kkbruce

Updated about 6 years ago

aspnetcore-runtime 2.x base on Server Core.

Image
1

624

kkbruce/aspnetcore repository overview

gdiplus.dll Problem

Old https://hub.docker.com/r/microsoft/aspnetcore or https://hub.docker.com/r/microsoft/dotnet/ base on Nano server, if you use some export Excel .NET library, like ClosedXML, the container will crash by Unable to load DLL 'gdiplus.dll' problem.

System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'gdiplus.dll': The specified module could not be found.

kkbruce/aspnetcore images base on mcr.microsoft.com/windows/servercore build it.

Detail article: https://blog.kkbruce.net/2018/11/windows-container-no-gdiplus-dll.html

Tag summary

Content type

Image

Digest

Size

1.8 GB

Last updated

about 6 years ago

docker pull kkbruce/aspnetcore:3.1-runtime-servercore-2004