I got this error when connecting from a docker container that contains a self-contained .net application to a container with SQL Server.
Adding the following lines to my Dockerfile
helped me
RUN apt-get install -y libicu74
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
I saw the solution here https://github.com/dotnet/SqlClient/issues/220