Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active June 27, 2020 05:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelmota/babcee6d2103468ab458e3a227162211 to your computer and use it in GitHub Desktop.
Save miguelmota/babcee6d2103468ab458e3a227162211 to your computer and use it in GitHub Desktop.
Run macOS in Docker container on Arch Linux
# https://github.com/sickcodes/Docker-OSX
sudo pacman -S qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf xorg-xhost
xhost +
docker pull sickcodes/docker-osx
xhost +
docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ./OpenCore-Boot.sh
# disk formatting in installer:
# Disk Utility -> Erase biggest Disk -> Partition that disk and subtract 1GB and press Apply -> Click Reinstall macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment