For sickcodes/docker-osx:auto you'll need about 50 GB of disk space to use it. You may also need to add your user to the kvm group using sudo usermod -aG kvm $USER for this to work properly.Īs for required disk space, read my comment from further up this article for a rough estimation.
DOCKER ON MAC OS X INSTALL
Start by making sure you have Docker installed (also see the official Docker installation documentation).Īlso install QEMU on the host system if you haven't already. Once this is done, you can continue with the rest of the instructions below.
DOCKER ON MAC OS X HOW TO
How to install macOS (OSX) in QEMU + KVM using Docker-OSXīefore continuing, make sure your computer supports hardware virtualization and that it's enabled in the BIOS (you could check using sudo kvm-ok which will return "KVM acceleration can be used" if everything is ok). You might also like: LazyDocker: Docker And Docker Compose Terminal UI There are also instructions for removing the container. The Docker image takes about 3.2 GB of disk space, while the container space usage for this is around 35 GB.īelow you'll find instructions for using Docker (Docker-OSX) to run a macOS (Catalina or Big Sur) base recovery image, install and run macOS (with the option of setting a custom resolution with no options specified it uses 1920x1080). On my Ubuntu 20.10 desktop, installing macOS using the sickcodes/docker-osx:big-sur image took about 55 minutes. Also, to use this, your computer CPU needs to support hardware virtualization see the KVM checklist from here to find out if your CPU supports it (you can also run sudo kvm-ok which will return "KVM acceleration can be used" if everything is ok). It's worth noting from the start that Apple doesn't allow installing macOS on non-Apple hardware, so to use this legally, your OS must be installed on Apple hardware. You might also like: Quickly Create And Run Optimized Linux, macOS And Windows Virtual Machines With Quickemu (With Auto ISO Download) The project also includes instructions for various tweaks, like forwarding additional ports, changing screen resolution, enable network forwarding, allow USB passthrough, quick start instructions for using the large pre-made image and using your own image, and more (all available on the project's page).
VNC version on localhost:8888 (the VNC version is in a separate directory due to the security risks involved with using VNC).
DOCKER ON MAC OS X FULL
sickcodes/docker-osx:big-sur - original base recovery image using macOS Big Sur.sickcodes/docker-osx:latest - original base recovery image using macOS Catalina.The Docker-OSX project provides four Docker images: Using this, you'll be able to install macOS in a QEMU virtual machine (via Docker), and run the macOS Catalina, Big Sur or Monterey desktop, or boot to the OSX shell. Docker-OSX is a project that makes macOS run near native using OSX-KVM inside a Docker container.