Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gpu passthrough support as well as dynamic OpenCore chainloader regeneration #132

Merged
merged 1 commit into from
Jan 22, 2021

Conversation

cephasara
Copy link

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.

Copy link
Owner

@sickcodes sickcodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice so this Dockerfile is close to Docker QEMU?

@sickcodes
Copy link
Owner

This is great! It'll try give it a test today

@sickcodes sickcodes merged commit f9ed666 into sickcodes:master Jan 22, 2021
@cephasara
Copy link
Author

Nice so this Dockerfile is close to Docker QEMU?

Is that another repo? It could be. I based it off of your arch based one--with adaptations for Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants