Hi,
I’m currently testing KDE Linux and setting up my homelab. I’m having trouble getting NVIDIA GPU support working with Docker.
My hardware is a GeForce RTX 5070 Ti, and the NVIDIA driver works correctly on the host. I can use GPU acceleration with DaVinci Resolve, FFmpeg, and games without issues.
System information:
KDE Linux
VERSION="2026-09-28 02:54"
Kernel: 7.2.7-arch1-1
NVIDIA driver: 615.71.09
GPU: GeForce RTX 5070 Ti
Docker: 29.8.1
containerd: 2.4.0
runc: 1.5.2
Docker reports CDI support:
CDI spec directories:
/etc/cdi
/var/run/cdi
However, running a CUDA container with GPU access fails:
sudo docker run --rm --gpus all \
nvidia/cuda:12.8.1-base-ubuntu24.04 nvidia-smi
with:
failed to discover GPU vendor from CDI: no known GPU vendor found
I also tried:
sudo nvidia-ctk runtime configure --runtime=docker
but nvidia-ctk is not available on the system.
I found that Kapsule provides NVIDIA support through its --nvidia-drivers option, but migrating my homelab to Kapsule/Incus isn’t currently possible because some of the container images required by my stack are not available for that environment.
My homelab is therefore currently dependent on Docker/Compose.
What is the recommended/supported way to enable NVIDIA GPU support for Docker containers on KDE Linux? Is there an intended way to provide the NVIDIA Container Toolkit/CDI integration on the immutable KDE Linux system?
Thanks! ![]()