I have those lines in a Dockerfile:
RUN apt-get update && apt-get install -y --no-install-recommends
  <list of packages>
I'm able to build a docker image via docker build -f Dockerfile ... in mac.
given that mac doesn't have apt-get, how does that work under the hood? Particularly, if I run a linux container in macOS and there is a python script with a dependency on some package installed with apt-get, how is that dependency resolved in the Mac environment?
 
    