[PR #132] [MERGED] Add gpu passthrough support as well as dynamic OpenCore chainloader regeneration #702

Closed
opened 2025-12-29 01:24:43 +01:00 by adam · 0 comments
Owner

📋 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: masterHead: master


📝 Commits (1)

  • 5561b08 add 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.

## 📋 Pull Request Information **Original PR:** https://github.com/sickcodes/Docker-OSX/pull/132 **Author:** [@cephasara](https://github.com/cephasara) **Created:** 1/22/2021 **Status:** ✅ Merged **Merged:** 1/22/2021 **Merged by:** [@sickcodes](https://github.com/sickcodes) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`5561b08`](https://github.com/sickcodes/Docker-OSX/commit/5561b08e6ab58209cb1a5febd57c355e01530f67) add gpu passthrough support as well as dynamic OpenCore regeneration ### 📊 Changes **7 files changed** (+790 additions, -299 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:24:43 +01:00
adam closed this issue 2025-12-29 01:24:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#702