We need to build for both Linux, Windows and MacOS, and are planning a transfer to Docker (for the build stages do not include interface to hardware for testing). For the Windows part, we need Windows machine, virtual or physical, to run a Docker engine that can handle the Windows image flavor.
Does MacOs have its own image flavors as well, so that we need a "real" (physical, I think virtual is out of the question) Mac to run it, or do MacOS docker images have the same interface to the host as Linux images, so that we can executed them on a Linux Docker Engine?
We do have physical Macs, but the target hardware tests may occupy the machine for hours, blocking build jobs. (Some tests are highly timing sensitive, so we don't want a heavy compilation to delay the test management.) If we could do the compilation part on a Linux Docker, we wouldn't need another MacOS installation.
What I have tried:
Reading and searching docs.docker.com