How in process hosting model works in linux containers?

I am having a dotnet core application with inprocess hosting model. When i create a container for the app using docker and deploy to a linux container it works as expected. Could you please let me know how it works behind the scene?

Source: StackOverflow