An all-in-one up-to-date Docker image for iSpy AgentDVR, with nVidia, Intel CPU & GPU acceleration.
5.6K
Repository: valtam/ispyagentdvr
Tag: latest (rolling)
Current latest version: (includes Beta's) 7.7.3.0
Current latest stable version: 7.7.3.0
An all-in-one Docker image for iSpy Agent DVR, built on Ubuntu 24.04 LTS, with GPU acceleration, VAAPI, VLC.
This image is designed to work cleanly on modern Linux systems with NVIDIA and/or Intel/AMD GPUs.
--gpus all)/dev/dri)latest tag only)| Date | Version | Update Information |
|---|---|---|
| 07/10/2026 | 7.7.3.0 | Retain HD camera on window resize Support High DPI video (new setting in server settings - playback - default is disabled) Update to web client for browser support for high DPI for scaling Support dynamic resize in file playback mode (fill available area) Improve pan after zoom accuracy Improve resolution and encoding in live video view. Fix rare remote reconnect wedge |
Create a ispyagentdvr directory on the host:
mkdir -p ~/ispyagentdvr
cd ~/ispyagentdvr
nano docker-compose.yml
services:
ispyagentdvr:
image: valtam/ispyagentdvr:latest
container_name: ispyagentdvr
restart: unless-stopped
environment:
TZ: Pacific/Auckland
NVIDIA_VISIBLE_DEVICES: all
NVIDIA_DRIVER_CAPABILITIES: all
ports:
- "8090:8090"
- "3478:3478/udp"
- "51000-51100:50000-50100/udp"
volumes:
- /opt/ispyagentdvr/config:/agent/Media/XML
- /opt/ispyagentdvr/media:/agent/Media/WebServerRoot/Media
- /opt/ispyagentdvr/commands:/agent/Commands
devices:
- /dev/dri/card0:/dev/dri/card0
- /dev/dri/renderD128:/dev/dri/renderD128
gpus: all
labels:
- "com.centurylinklabs.watchtower.enable=true"
Start the container:
docker compose up -d
Open the UI:
http://<host-ip>:8090
⚠️ Use the host IP, not localhost eg. https://192.168.1.123:8090
🟢 NVIDIA GPU Requirements (Host Setup)
⚠️ Important If you have an NVIDIA GPU and want hardware acceleration (CUDA / NVENC), you must install NVIDIA components on the host system. Docker cannot provide NVIDIA drivers from inside the container.
🧩 Required on the host (not inside Docker) 🖥️ 1. NVIDIA GPU Driver
Install a supported NVIDIA driver on the host OS.
Check:
nvidia-smi
✔ If this works → GPU is ready ❌ If this fails → AgentDVR will run in CPU-only mode
🧰 2. NVIDIA Container Toolkit
Required to allow Docker containers to access the GPU.
Ubuntu / Debian:
sudo apt update
sudo apt install -y nvidia-container-toolkit
sudo systemctl restart docker
Verify Docker GPU access:
docker run --rm --gpus all nvidia/cuda:12.3.0-base-ubuntu22.04 nvidia-smi
You should see GPU information printed.
🐳 Docker configuration
Your container must be started with GPU access enabled.
Docker Compose:
gpus: all
docker run:
--gpus all
✔ This repository’s docker-compose.yml already includes this.
🔍 Verify GPU access inside the container
docker exec -it ispyagentdvr nvidia-smi
If this works, CUDA / NVENC acceleration is available to AgentDVR.
🧠 GPU support summary
GPU Type Acceleration Notes
🟢 NVIDIA CUDA / NVENC Requires driver + toolkit 🔵 Intel VAAPI Uses /dev/dri 🔴 AMD VAAPI Uses /dev/dri ⚪ None CPU-only Works, lower performance
❗ Important clarifications
❌ NVIDIA drivers cannot be installed inside Docker
❌ Docker images do not include GPU drivers
✔ AgentDVR auto-detects available hardware at runtime
✔ CPU-only operation works without any GPU setup
✅ Quick checklist
🧩 NVIDIA driver installed on host
🧰 NVIDIA Container Toolkit installed
🐳 Docker started with --gpus all
🔍 nvidia-smi works inside container
--gpus alldocker exec -it ispyagentdvr nvidia-smi
/dev/dri/dev/dri/card0/dev/dri/renderD128This image publishes only the latest tag.
docker pull valtam/ispyagentdvrlatest changesView logs:
docker logs -f ispyagentdvr
Shell access:
docker exec -it ispyagentdvr bash
Verify acceleration:
nvidia-smi
vainfo
Content type
Image
Digest
sha256:5efdf0f2e…
Size
438.5 MB
Last updated
11 days ago
docker pull valtam/ispyagentdvr:7.7.4.0