https://github.com/telkomdev/osx-on-docker
Run macOS on top of Docker with near-native performance with ease
https://github.com/telkomdev/osx-on-docker
Last synced: 4 months ago
JSON representation
Run macOS on top of Docker with near-native performance with ease
- Host: GitHub
- URL: https://github.com/telkomdev/osx-on-docker
- Owner: telkomdev
- License: mit
- Created: 2023-03-03T16:16:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T16:17:50.000Z (over 2 years ago)
- Last Synced: 2025-01-16T20:19:04.020Z (5 months ago)
- Language: Shell
- Size: 735 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# osx-on-docker
Run macOS on top of Docker with near-native performance with ease
## 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
```shell
$ git clone https://github.com/telkomdev/osx-on-docker
```
- Choose macOS variant, ex: ventura
```shell
$ 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
```shell
$ sudo -S mount_9p hostshare
```
- `hostshare` will be mounted on `/Volume/hostshare` in macOS## Common Issues
### Error "gtk initialization failed"
- Arch Linux
``` shell
$ sudo pacman -S xorg-xhost
```
- Debian, Ubuntu, Linux Mint
```shell
$ sudo apt update \
&& sudo apt install -y x11-xserver-utils \
&& xhost +
```
- RHEL, Centos, Fedora
```shell
$ sudo yum install xorg-x11-server-utils
```## Links & Resources
- DockerOSX: https://github.com/sickcodes/Docker-OSX
- Installing Xcode: https://github.com/RobotsAndPencils/xcodes