mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-03-09 15:39:58 +00:00
| .. | ||
| templates | ||
| .DS_Store | ||
| Chart.yaml | ||
| README.md | ||
| values.yaml | ||
docker-osx
Information
This installs docker-osx in Kubernetes.
Features
What works
- Setting cpu/memory options
- Setting VNC password
- Persistance
- Setting SMBIOS
- QEMU/virtio cpu changes
- Toggling Audio
- Additional port forwarding
- Kubernetes resource requests/limits
- Defining install partition size
What doesn't/isn't defined
- Defining a different version of macOS
- Additional QEMU parameters
- GPU support
Requirements
*) Install host machine requirements
*) Ensure you are running QEMU 5.X
*) Kubernetes
*) Helm
*) sickcodes/docker-osx-vnc Docker image
Build sickcodes/docker-osx-vnc
-
Go back to the root directory
-
Build docker image
docker build \ -t sickcodes/docker-osx-vnc:latest \ -f vnc-version/Dockerfile .
Do not worry about passing CPU, RAM, etc as they are handled in values.yaml now.
Installation
In values.yaml..
- Set a unique password for
vnc.password. - Re-generate SMBIOS
MLB,SystemSerialNumber, andSystemUUIDfor iServices to work. - Update
serverNameto reflect the unique name (in the case more than one deployment is required). - Configure
downloadDelay(in a period of seconds) that reflects how long your internet connection will download around 500MB (BaseSystem.dmg) + uncompress the file (which took about the same time for me to download on a 1gig internet connection). - Set
service.ipto reflect an IP address of your choice, or use ingress. - Update
extraVolumes.hostPath.pathto something useful for you.
Afterwards..
- Launch your VNC viewer of choice and connect to the IP/hostname you defined + the port
8888with the password specified forvnc.password. - Install macOS like usual.
Please note, after you have installed macOS feel free to set downloadDelay to nothing, as BaseSystem.dmg will be stored in the path defined for extraVolumes.hostPath.path
Resources
Please note, resource limits may vary based on hardware. The ones currently defined are ones that worked for me personally.