getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
6.9k stars 508 forks source link

How to add GPU acceleration? #1726

Open janeoa opened 6 months ago

janeoa commented 6 months ago

I have installed Umbrel on my home server with 2400G and RTX3060.

AFAIK the Umbrel itself is a binary (./bin/umbreld) and the containers are all in the docker.

How do I pass GPU acceleration to the Umbrel container? How to add extra volumes to the container?

Do I need to modify the dockerfiles? Is it possible to do right from the Umbrel?

B0G0311 commented 4 months ago

Commenting to hopefully push an answer on this topic as, especially with the plex and the new bitcoin mining app this is going to be very important.

mirceavesa commented 3 months ago

bitcoin mining app?? :)

B0G0311 commented 3 months ago

my bad, it was a mining pool. I was very sick that week so my excuse is lack of sleep and dayquil.

highghlow commented 1 month ago

Do I need to modify the dockerfiles? Is it possible to do right from the Umbrel?

Docker compose v2 (The one Umbrel v1 uses) supports gpu passthrough (https://docs.docker.com/compose/gpu-support/). Now Umbrel just needs to figure out the drivers, which are annoying.