[PR #7532] Add NVIDIA_VISIBLE_DEVICES=all environment variable to dockerfile #11442

Closed
opened 2026-02-07 06:38:34 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/jellyfin/jellyfin/pull/7532

State: closed
Merged: No


Following the NVIDIA Contailer Toolkit installation guide for Podman and adding the NVIDIA_VISIBLE_DEVICES environment variable to the dockerfile I was able to get NVENC working with Jellyfin running through Podman. I thought maybe someone else might be interested in this. If it gets merged I could update the documentation as well but you only need to follow the guide and add security-opt=label=disable and hooks-dir=/usr/share/containers/oci/hooks.d/ as options to the podman run command.

Changes
Added NVIDIA_VISIBLE_DEVICES=all to Dockerfile

**Original Pull Request:** https://github.com/jellyfin/jellyfin/pull/7532 **State:** closed **Merged:** No --- <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> Following the [NVIDIA Contailer Toolkit installation guide for Podman](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#podman) and adding the NVIDIA_VISIBLE_DEVICES environment variable to the dockerfile I was able to get NVENC working with Jellyfin running through Podman. I thought maybe someone else might be interested in this. If it gets merged I could update the documentation as well but you only need to follow the guide and add `security-opt=label=disable` and `hooks-dir=/usr/share/containers/oci/hooks.d/` as options to the podman run command. **Changes** Added NVIDIA_VISIBLE_DEVICES=all to Dockerfile
OVERLORD added the pull-request label 2026-02-07 06:38:34 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11442