Docker Community Forums

Share and learn in the Docker community.

OS host dependencies vs packaged

I’d like to take a practical example, and ask for your kindness in clearing up some deep dive questions but at a medium dive response. I hope this is a fun few questions for someone to answer.

Question 1: If I were to use a dotnet-framework docker image, which is comprised of the dotnetcore runtime, doesn’t the image therefore contain several operating system files that would be used in the normal course of many applications?

Question 2: Do we really mean – the image contains all non-kernel dependencies?

Question 3: Does the docker hub intercept calls to standard OS libraries and allow those to flow thru to the host - thus to take advantage of the host OS, or again, are these potentially hundreds of files that are used in the normal runtime course of an application simply supposed to exist in the container itself?