Architected a Proxmox-based home datacenter to run multiple isolated Linux (LXC) containers while sharing a single physical GPU through complex UID/GID mapping. This allowed for hardware-accelerated media transcoding and data processing without compromising container security perimeters.
The Problem
I needed to leverage GPU acceleration across multiple independent services without dedicating the hardware to a single VM, which is the traditional method.
The Solution
Using Proxmox VE and LXC containers, I implemented careful privilege management and UID/GID mapping. This safely exposed the GPU device nodes (/dev/dri) to unprivileged containers, keeping the workloads isolated while sharing the compute resource efficiently.
Technologies Used
- Hypervisor: Proxmox VE
- Containers: LXC
- OS: Debian/Ubuntu Linux
- Skills: UID/GID mapping, GPU Passthrough, Privilege Management, CLI