I have a docker image that I use for building C++ projects using GCC and other tools. For a specific project, I am to successfully build the C++ project when docker is running on a Linux host.
However, I tried to build the same source code using an image built from the same docker file on MacOS (M1 Chip) and got compile errors. In particular, this file was not found: xmmintrin.h, which seems to be related to gcc.
Could this be caused by the fact that docker desktop on MacOS relies on a VM? Or could it be related to the M1 chip or something else?
I am trying to understand more fully what the implications are running docker on MacOS using a VM rather that’s directly in Linux.
Any suggestions or help would be greatly appreciated.