I am developing on a Windows 11 machine and I have a .NET 6 Swagger WebApi solution that references .Net Framework 4.7.2 project (due to migration reasons it has to stay fw472).
I dockerized the api solution and deployed it into a Linux container locally on my machine. To my surprise I was able to browse the Swagger api and trigger a rest endpoint that uses the fw472 library which successfully returned the results.
My question is how does .Net 6 solution support using a .Net 472 class library when it is deployed into a Linux container?