Skip to content

Instantly share code, notes, and snippets.

@slykar
Last active November 13, 2025 10:30
Show Gist options
  • Select an option

  • Save slykar/e92732be9bf81a71e08068245656d70e to your computer and use it in GitHub Desktop.

Select an option

Save slykar/e92732be9bf81a71e08068245656d70e to your computer and use it in GitHub Desktop.
Docker and Docker Compose on AMD OSX Hackintosh via Docker Machine

Introduction

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

Instalation

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

brew install virtualbox docker-machine

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

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

Running

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

evenlee commented Apr 3, 2025

@xtaetg , I just installed it by the package and all default, no special setting.

@ScaferuZ
Copy link

hi there! im in the middle of testing the minikube way using sequoia. has anyone ever tried and been using docker ever since? i will let yall now my results

@AlexDanDuna
Copy link

hi there! im in the middle of testing the minikube way using sequoia. has anyone ever tried and been using docker ever since? i will let yall now my results

How did it go? Is the setup hard?

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