blog/docker-sql-error-on-aspnet-core-alpine/ #1620
Replies: 4 comments
-
Hi Abhith |
Beta Was this translation helpful? Give feedback.
-
@djvickx APK stands for Alpine Linux package manager, it will not be available with non-alpine images. The image "microsoft/dotnet:2.2-aspnetcore-runtime" is based on Debian (correct me if I'm wrong), and it uses apt-get CLI command to install packages. Another thing to note is the icu-libs is an Alpine Linux package so you might want to find a similar package under Debian. If you are facing issues, the easiest solution would be switching the image. |
Beta Was this translation helpful? Give feedback.
-
@abhith Thanks for the clarification I got it now. I have also found out a way from official documentation about how to set Invariant Globalization setting in .net core project file, will try it out and if it doesn't work then I ll shift to alpine image. |
Beta Was this translation helpful? Give feedback.
-
This worked for me whilst using |
Beta Was this translation helpful? Give feedback.
-
Docker - SQL Error on ASP.NET Core Alpine | Abhith Rajan
Having trouble to connect to a remote SQL server from an ASP.NET Core app running on top of Alpine dotnet on a linux container?
https://www.abhith.net/blog/docker-sql-error-on-aspnet-core-alpine/
Beta Was this translation helpful? Give feedback.
All reactions