Why would you spin up a linux vm for development when you are already running a unix os?
Linux is quite different from macOS in many ways. They are both distantly inspired by "unix" (and Apple has managed to convince someone to let them use the trademark, so they really "are" unix, legally at least), but the similarity ends there.
Containers.