Skip to content

Instantly share code, notes, and snippets.

Last active July 17, 2024 05:06
Show Gist options
  • Save slykar/e92732be9bf81a71e08068245656d70e to your computer and use it in GitHub Desktop.
Save slykar/e92732be9bf81a71e08068245656d70e to your computer and use it in GitHub Desktop.
Docker and Docker Compose on AMD OSX Hackintosh via Docker Machine

Introduction will complain about incompatible processor, so we will use Docker Machine.


Download Docker for Mac ( It contains some binaries that are necessary.

brew install virtualbox docker-machine

# Normally, those links are created automatically by running,
# but it quits on us too early, so we need to do this manually
ln -s "/Applications/" /usr/local/bin/docker-compose
ln -s "/Applications/" /usr/local/bin/docker-credential-desktop
ln -s "/Applications/" /usr/local/bin/docker-credential-osxkeychain

You can also use brew to install docker and doccker-compose and it should work without linking above.


docker-machine create
eval $(docker-machine env)
docker run hello-world
docker-compose up
Copy link

@AlphaNecron can you run windows vm without error on Sonama/Ventura with virtual box 6.x?

I am also interested in answer to this . I was not aware there was a way to successfully run virtual box vms on an amd hackintosh due to osx not supporting AMD/SVM. Of course intel works fine as it used vt-d and osx is programmed to work on intel.

I think i might have seen / got working a non svm method of running a virtual machine but performance was poor. Is it this what we are taking about ? Sorry if I don’t use precisely the right technical terms as a these matters are at the limit of my understanding.

Copy link

I guess Proxmox as host and Macos as guest with a gpu passthrough, currently is the better way to setup ryzentosh. For the docker in this case use separate vm with any linux distro and just mount folder over nfs.

Copy link

kroegen commented Apr 23, 2024

@sergeycherepanov Do I understand you correctly?

  • I can use Ubuntu as a host OS.
  • Use Proxmox to run MacOS.
  • Use Docker in Ubuntu.
  • Share Docker between Ubuntu host OS and MacOS in VM?

Copy link

sergeycherepanov commented Apr 28, 2024

@kroegen yes, but only Debian supported by Proxmox VE, or you need to install Proxmox VE directly from the iso. Also, I can recommend check the guides by Nick on him blog

Copy link

evenlee commented Jul 17, 2024

hey guys, with OpenCore-Legacy-Patche, VirtualBox 6.1.x can take another breath on sonoma(14.5 tested), just work as usual.
I just upgraded from Monterey without any issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment