This is a short and sweet howto on building a LXC Container on Proxmox and passing through a 5070 Ti GPU to it.
# Header
First we will be installing Proxmox NVIDIA drivers on the host itself, so that later we can amp the GPU to LXC containers that will have GPU passthgough configured.
sudo apt install g++ freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libglu1-mesa-dev libfreeimage-dev libglfw3-dev wget htop btop nvtop nano glances git pciutils cmake curl libcurl4-openssl-dev pve-headers-$(uname -r) dkms make pkg-config libglvnd-dev -y && update-initramfs -u
cat >/etc/modprobe.d/blacklist-nouveau.conf <<'EOF'
blacklist nouveau
options nouveau modeset=0
EOF
reboot
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/580.126.18/NVIDIA-Linux-x86_64-580.126.18.run
chmod 755 NVIDIA-Linux-x86_64-580.126.18.run
./NVIDIA-Linux-x86_64-580.126.18.run --dkms
After the drivers are installed on Proxmox, we can create an LXC and configure it for GPU Passthrough.


apt update && apt full-upgrade
apt install curl
apt install nvtop
apt install zstd
apt install jq
pct push 211 NVIDIA-Linux-x86_64-580.126.18.run /root/NVIDIA-Linux-x86_64-580.126.18.run
chmod 755 NVIDIA-Linux-x86_64-580.126.18.run
./NVIDIA-Linux-x86_64-580.126.18.run --no-kernel-modules
Mon Mar 9 08:56:32 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.18 Driver Version: 580.126.18 CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 5070 Ti Off | 00000000:07:00.0 Off | N/A |
| 0% 38C P8 15W / 300W | 3MiB / 16303MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+