OSX
Introducció
Run Mac OS X in Docker with near-native performance! X11 Forwarding! iMessage security research! iPhone USB working! macOS in a Docker container!
WSL
Arrenca una màquina Windows Subsystem for Linux (WSL).
Crea el fitxer .wslconfig en el teu “home”:
Add nestedVirtualization=true to the end of the file (If the file doesn’t exist, create it).
[]
=trueFor more information about the .wslconfig file check this [link](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#wslconfig.
Check if KVM is enabled by using the kvm-ok command.
The output should look like this:
Use the command sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm to install it if it isn’t.
Instal·la Docker:
| Ensure x11-apps is installed. Use the command sudo apt install x11-apps -y to install it if it isn’t.
Finally, to get video output:
WSLg: This is the simplest and easiest option to use. There may be some issues such as the keyboard not being fully passed through or seeing a second mouse on the desktop - Issue on WSLg - but this option is recommended.
To use WSLg’s built-in X-11 server:
boot instructions for when you are creating your container:
- Boot the macOS Base System (Press Enter)
- Click Disk Utility
- Erase the BIGGEST disk (around 200gb default), DO NOT MODIFY THE SMALLER DISKS. – if you can’t click erase, you may need to reduce the disk size by 1kb
- (optional) Create a partition using the unused space to house the OS and your files if you want to limit the capacity. (For Xcode 12 partition at least 60gb.)
- Click Reinstall macOS
- The system may require multiple reboots during installation