Skip to content

Run macOS on top of Docker with near-native performance with ease

License

Notifications You must be signed in to change notification settings

telkomdev/osx-on-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

osx-on-docker

Run macOS on top of Docker with near-native performance with ease

Alt text

Requirements

  • KVM
  • Docker
  • docker-compose or Docker compose plugin
  • X11

List of supported macOS variant

  • Ventura [34Gi]
  • Monterey [?Gi]
  • Big Sur [?Gi]

How to use it?

  • Clone this repository
$ git clone https://github.com/telkomdev/osx-on-docker
  • Choose macOS variant, ex: ventura
$ export variant="ventura" \
    && cd osx-on-docker \
    && cd ${variant} \
    && ./run.sh
  • The script will automatically download macOS base image & run it in qemu

Default username & password

  • username: admin
  • password: letmein

Mounting hostshare volume

  • On your macOS
$ sudo -S mount_9p hostshare
  • hostshare will be mounted on /Volume/hostshare in macOS

Common Issues

Error "gtk initialization failed"

  • Arch Linux
$ sudo pacman -S xorg-xhost
  • Debian, Ubuntu, Linux Mint
$ sudo apt update \
    && sudo apt install -y x11-xserver-utils \
    && xhost +
  • RHEL, Centos, Fedora
$ sudo yum install xorg-x11-server-utils

Links & Resources

About

Run macOS on top of Docker with near-native performance with ease

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages