I know that it's possible to get macOS running in a VM under Parallels, VirtualBox and VMWare Fusion. I have containers with Windows and many distributions of Linux and BSD Unix. I'm hoping somebody has managed to get macOS running in a container.
Run macOS in a Docker Container – Is It Possible?
dockermacosvirtualization
Related Question
- The difference between various VM solutions
- MacOS – using chrome os as client in vmware fusion
- MacOS – Is it safe to upgrade to Yosemite when using VMWare Fusion 6
- Boot Camp – running OS X partition as a VM
- Windows – Docker & OSX’s guest Windows 10 Pro “doesn’t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory”
- How Do I Create A VirtualBox VM From An Existing macOS Mojave APFS Volume
Best Answer
Yes you can run macOS in a Docker Container: https://github.com/sickcodes/Docker-OSX
It has very low overheads because it's all real KVM nested virtualization.
I have stress tested it and the minimum requirements is about 2.5GB of RAM per container. The Docker container is Arch but it has very low overheads.
Make your own container:
Or if you want to fast-track, or use CLI only, you can boot straight into a real headless MacOS command line using
:auto
You'll drop into the Darwin shell.
Extra options:
Visual display:
Add SSH:
Change resolution