mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
[PR #132] [MERGED] Add gpu passthrough support as well as dynamic OpenCore chainloader regeneration #702
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sickcodes/Docker-OSX/pull/132
Author: @cephasara
Created: 1/22/2021
Status: ✅ Merged
Merged: 1/22/2021
Merged by: @sickcodes
Base:
master← Head:master📝 Commits (1)
5561b08add gpu passthrough support as well as dynamic OpenCore regeneration📊 Changes
7 files changed (+790 additions, -299 deletions)
View changed files
➕
helm/Dockerfile(+72 -0)➕
helm/INSTALL-QEMU-AND-GPU-IOMMU.md(+283 -0)📝
helm/README.md(+15 -4)📝
helm/templates/configmap.yaml(+287 -256)📝
helm/templates/deployment.yaml(+29 -16)📝
helm/templates/service.yaml(+6 -4)📝
helm/values.yaml(+98 -19)📄 Description
This PR reworks the Dockerfile into a new one just for Kubernetes. Additionally, it switches over to an Ubuntu base because OSX-KVM utilizes Ubuntu for building the OpenCore EFI loader. (I couldn't get it to work with arch) This is required, so Kubernetes can rebuild it adding kexts, changing lower-level settings, and other customizations. Also, helm/kubernetes doesn't need a lot of the configuration in the vanilla Docker version anyway.
Also, this PR introduces GPU passthrough support. This requires extensive configuration on the host--which is documented in another document (I wrote for myself, but and more than willing to share here). That being said, it is catered specifically to my setup--being ClearOS, but it SHOULD work with CentOS pretty easily as well as others. Some of the commands do vary a bit depending on OS distribution. I don't really intend on supporting other OSes, but included it for anyone else to reference.
There are many more customization options too, such as boot timeout, usb passthrough, service port forwarding, disk cache and io settings as well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.