Run a complete macOS virtual machine directly within a Docker container. This project leverages QEMU and KVM to deliver near-native performance, making it possible to operate a responsive macOS environment on Linux and Windows (via WSL2) hosts. It is a versatile tool for developers, security researchers, and teams that need an accessible and disposable macOS instance.
This solution offers a wide range of capabilities to fit various workflows:
services:
docker-osx:
image: sickcodes/docker-osx:latest
container_name: docker-osx
devices:
- /dev/kvm:/dev/kvm
ports:
- "50922:10022"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ./shared:/mnt/shared
environment:
- DISPLAY=${DISPLAY:-:0.0}
- MAC_ADDRESS=${MAC_ADDRESS}
stdin_open: true
tty: true
DISPLAY=:0.0
MAC_ADDRESS=52:54:00:11:22:33
Auto-fetched about 22 hours ago
Auto-fetched about 22 hours ago