We’ve combined methods from a few different forum threads into a single, step-by-step tutorial with screenshots to make things a little easier for people. Apart from that, this is macOS High Sierra, which runs flawlessly in VirtualBox. The only thing that isn’t working is the sound, which is distorted or non-existent for some reason. Some members of the InsanelyMac forums have devised a method that works. Unfortunately, you’re not supposed to do this, so getting macOS to run in VirtualBox is a bit of a challenge.
Having access to the latest macOS version in a virtual machine is useful whether you want to test a website in Safari or try out a small piece of software in the Mac environment. Here we can see, “How to Install macOS High Sierra in VirtualBox on Windows 10”