"libhostpolicy.so" error while rotating Docker image for .net core 2.0 project console application

0

I'm creating a Docker image with an application .net core 2.0 console to function as a background service on the machine, however, when running the image in linux, the following error is displayed:

A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/app/'.

I tried to build my image from the net core image: microsoft / aspnetcore: 2.0 ", and in the application, I have no specific dependency on windows, but still, I have taken this error, what could be the problem?

    
asked by anonymous 09.11.2018 / 20:36

0 answers