An all-in-one up-to-date Docker image for iSpy AgentDVR, with nVidia, Intel CPU & GPU acceleration.
10K+
Repository: valtam/ispyagentdvr
Tag: latest (rolling)
Current latest version: (includes Beta's) 8.3.7.0
Current latest stable version: 8.3.7.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 |
|---|---|---|
| 12/1/2026 | 8.3.7.0 | New - go2rtc source type: add cameras from your own go2rtc server (Xiaomi, Ring, Tuya, Wyze and others that have no RTSP or ONVIF of their own). Set the server's API address in Server Settings > Go2rtc; the source dialog lists its streams. A go2rtc on the same machine, beside Agent in Docker or on the MQTT host is found automatically. - go2rtc streams are offered in the New devices found prompt, leaving out cameras that are already added. - Talk through go2rtc cameras with the new go2rtc talk model. RTSP talk also works with Opus speakers. - Home Assistant: Object, Face, License Plate and Sound event entities for devices with that recognizer on. Sent only with discovery on, at most one per device, type and name or plate every 10 seconds. - HD view: object, face, plate and loiter boxes and labels are drawn on the mainstream picture too, following each recognizer's Overlay setting. - Timeline: zoomed out past 96 days, recordings and timelapse are drawn as day bars in their own lanes, and days with alerts keep their colour. Changed - The talk model is picked again when a camera's source changes, unless you chose it yourself. - Timeline: alerts are graded by their share of what was recorded, so an alert recording on its own is red at every zoom, and any alert shows at least a faint amber. - API: savelocalon and savelocaloff commands removed. Fixes - Remote API and AI assistant (through the relay): device commands such as setname, setlocation, ptzpresets, say and setgroups ran on every device. They now run only on the device they were sent to. - Timeline: zoomed out past 96 days, bars from a narrower zoom were left in the middle of each row and day bars all drew at full strength. - Timeline: a click just left of a bar played the recording before it. A click or tap now plays the bar it is nearest, with a larger target on touch screens. - The camera editor's OK could overwrite the detected talk model with a stale one. |
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:13.5.0-base-ubuntu24.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:518a13a81…
Size
486.2 MB
Last updated
about 13 hours ago
docker pull valtam/ispyagentdvr