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?