A Proxmox VE script to create an LXC container with Intel OpenVINO and GPU acceleration using Intel integrated graphics.
- Creates a Debian 13 (Trixie) unprivileged LXC container
- Configures Intel iGPU passthrough for hardware acceleration
- Installs OpenVINO 2025 with GPU support
- Installs Intel legacy compute runtime for pre-Gen12 GPUs (Skylake, Kaby Lake, Coffee Lake, etc.)
- Configures VA-API for video acceleration
- Sets up a Python virtual environment with OpenVINO
- Proxmox VE host with Intel integrated graphics
- Intel GPU visible at
/dev/dri/renderD128 - ZFS storage (script uses
local-zfsby default)
This script includes the Intel legacy compute runtime which supports:
- Broadwell
- Skylake (HD Graphics 530, etc.)
- Kaby Lake
- Coffee Lake
- Apollo Lake / Gemini Lake
- Ice Lake
For newer GPUs (Tiger Lake, Alder Lake, etc.), you may need to modify the script to use the standard (non-legacy) Intel compute runtime.
# Make script executable
chmod +x create-openvino-lxc.sh
# Run with default settings (auto-selects next VMID, hostname: openvino-gpu)
./create-openvino-lxc.sh
# Run with custom hostname
./create-openvino-lxc.sh my-openvino-containerThe script will prompt you to set the root password for the container.
pct enter <CTID>su - ovuser
source ~/openvino-env/bin/activate
python3 -c "import openvino as ov; print(ov.Core().available_devices)"GPU access requires a login shell to load group memberships:
# From inside container after pct enter:
su -l root -c 'clinfo -l'
# Or from Proxmox host:
pct exec <CTID> -- su -l root -c 'clinfo -l'clinfo -l # OpenCL devices
vainfo # VA-API statusEdit the script to modify these defaults:
MEMORY=4096- Container RAM in MBCORES=4- CPU coresDISK_SIZE=16- Root disk size in GBSTORAGE="local-zfs"- Proxmox storage pool
MIT