Thank you! Last time I used the official desktop drivers because most guides recommended them. When I install the NVIDIA Container Toolkit, I can include the GPU in the runtime of the container and it should work, right?
Comment on NVIDIA GPU on a docker headless system
fraydabson@sopuli.xyz 1 year ago
Once you do get the drivers installed properly as per your OS, here are the steps to give docker access to it: docs.nvidia.com/datacenter/…/install-guide.html
If you are using arch then the whole process can be found on the arch wiki. wiki.archlinux.org/title/docker#Run_GPU_accelerat…
Trincapinones@lemmy.world 1 year ago
fraydabson@sopuli.xyz 1 year ago
I used the desktop drivers as well (on arch from the extra repo) for my headless arch server.
Regarding nvidia container toolkit once it was installed I added this to my Jellyfin docker compose:
deploy: resources: reservations: devices: - driver: nvidia capabilities: [gpu]
dandroid@dandroid.app 1 year ago
I recently did this and found those instructions to be beyond useless. The repository URIs were all old and dead. Not sure if they updated this doc since then, but they combined all the deb-based distros into one repo and and all the rpm-based distros into another repo.
fraydabson@sopuli.xyz 1 year ago
Yeah thankfully I use Arch Linux. Their wiki guide was much better.