GPU passthrough with Docker

Discussion about Docker
Locked
User avatar
karld89
Posts: 4
Joined: 22 Aug 2024, 02:39
Great Britain

GPU passthrough with Docker

Post by karld89 »

Hi,

Apologies if this is repeated anywhere, but I have searched extensively and can't find an answer.

I have configured Docker containers on my F4 424 Pro, most notably Jellyfin. Is it possible to pass the GPU through for hardware transcoding? I'm having serious trouble.

I tried on both TOS 5 and now 6.

I have tried using the Jellyfin/ffmpeg/outkast app from the community app store, but I received an error stating it needed launching with an account with admin privileges, and upon reinstalling, it now won't enable. I would rather get it functioning through Docker though
User avatar
outkastm
Gold Member
Posts: 1461
Joined: 29 Dec 2020, 23:52

Re: GPU passthrough with Docker

Post by outkastm »

Jellyfin for TOS6 will be released this week.
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: GPU passthrough with Docker

Post by makhai »

karld89 wrote: 22 Aug 2024, 02:45
Try add this to your yml config file

Code: Select all

devices:
  - "/dev/dri:/dev/dri"
This may help
User avatar
karld89
Posts: 4
Joined: 22 Aug 2024, 02:39
Great Britain

Re: GPU passthrough with Docker

Post by karld89 »

Thanks outkastM, I will certainly download it.

makhai, I have tried that, but unfortunately, no success.

Does TOS support device passthrough with Docker does anyone know?
User avatar
outkastm
Gold Member
Posts: 1461
Joined: 29 Dec 2020, 23:52

Re: GPU passthrough with Docker

Post by outkastm »

Sure it does. What app do you want to use in docker? Jellyfin? I will provide a step by step guide.
User avatar
karld89
Posts: 4
Joined: 22 Aug 2024, 02:39
Great Britain

Re: GPU passthrough with Docker

Post by karld89 »

Sorry for the slow replies, I have been a little under the weather recently.

Jellyfin was preferred to be through Docker, your apps are great, and I'm in the process of setting it up, so if that's the best solution happy to give with that.

I am also looking at setting up the likes of Tdarr alongside Jellyfin too
User avatar
karld89
Posts: 4
Joined: 22 Aug 2024, 02:39
Great Britain

Re: GPU passthrough with Docker

Post by karld89 »

outkastm wrote: 31 Aug 2024, 21:56 Sure it does. What app do you want to use in docker? Jellyfin? I will provide a step by step guide.
Hi outkastm,

Is is possible to get that guide from you? It would be incredibly helpful if so :)
Locked

Return to “Docker”