Comment on NVIDIA GPU on a docker headless system
Trincapinones@lemmy.world 1 year agoThank 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?
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]