Unraid Deployment
Unraid users should prefer the one-click install via Community Applications (just search 'yunkan' in Apps — the experience matches the HA add-on); use the docker compose path below if you need custom ports / an older Unraid. Both paths cover Intel iGPU + NVIDIA GPU.
Recommended path: one-click install (Community Applications)
Unraid's Community Applications (CA for short, the Apps tab) is a community-maintained app store. SkyView is listed in the official CA store, so Unraid users can simply search 'yunkan' in Apps and install with one click — no template repository to add, an experience on par with the Home Assistant add-on. No hand-written compose, no SSH.
When to use CA vs. compose
- 1
Confirm the Community Applications plugin is installed
Unraid 6.10+ usually ships with it. If the Apps tab is visible, you're set. If it's missing, go to Plugins → Install Plugin and paste
https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plgto install. - 2
Search and install (pick one; port conflicts mean you can't install more than one)
Apps tab → type
yunkanin the search box → 3 variants appear: YunKan (CPU only, no hardware dependency) / YunKan-OpenVINO (Intel iGPU, install the Intel GPU TOP plugin first) / YunKan-CUDA (NVIDIA GPU, install the NVIDIA Driver plugin first). Click Install on the matching variant; the defaults are fine, with the data directory defaulting to/mnt/user/appdata/yunkan/data. - 3
First launch → Setup wizard
Once the container starts, find the yunkan container on the Docker tab → click WebUI (or open
http://<Unraid IP>:23406/directly) → enter the Setup wizard → choose SQLite → create an admin → add a camera.
GPU plugin dependencies & ports / FAQ
OTA upgrades
Or: the docker compose path (custom / older Unraid)
Below is the traditional hand-written compose deployment path, for users who need custom ports or are on Unraid < 6.12 without the CA plugin. If you used the CA one-click install above, you can skip this section and jump to the GPU plugin install in 2. Prerequisites, or skip ahead to 5. Ports and firewall / 6. FAQ.
1. Supported hardware & recommended variant
| Hardware | Recommended variant | Required plugin |
|---|---|---|
| Intel CPU + iGPU (11th gen+) | openvino | Intel GPU TOP |
| NVIDIA GPU (GTX 1060+ / VRAM ≥ 4GB) | cuda | NVIDIA Driver |
| NVIDIA GPU + VRAM ≥ 8GB (2060+ / 3060+) | trt | NVIDIA Driver |
| CPU only (no iGPU / no discrete GPU) | cpu | None |
2. Prerequisites
- 1
Confirm the Unraid version
Tools → Update OS, check version ≥ 6.12.13 (older versions need the Docker Compose Manager plugin)
- 2
Install the GPU plugin
On the Apps tab, search for the matching plugin: install Intel GPU TOP for Intel iGPU, NVIDIA Driver for NVIDIA; you'll be prompted to reboot after install, and
/dev/drior/dev/nvidia*appears afterward - 3
Create the AppData directory
Unraid conventionally uses
/mnt/user/appdata/yunkan/; create it and cd into it to place the compose file
3. Get the compose file
Pick any one of three ways — download in the browser, wget over SSH, or paste the minimal version in Unraid's Compose Manager:
Download compose.yml
Unraid 6.12+ · openvino variant · online upgrade via the web console
Or SSH into Unraid (or use the Terminal plugin):
ssh root@<Unraid IP>
mkdir -p /mnt/user/appdata/yunkan
cd /mnt/user/appdata/yunkan
wget https://yun-kan.com/compose/unraid.yml -O compose.ymlIntel iGPU or NVIDIA GPU
image: to yunkan-cuda or yunkan-trt, and uncomment deploy.resources in the file.name: yunkan
services:
yunkan:
image: registry.cn-hangzhou.aliyuncs.com/yunkan/yunkan-openvino:latest
container_name: yunkan
restart: always
network_mode: host
devices:
- /dev/dri:/dev/dri
volumes:
- /mnt/user/appdata/yunkan/data:/app/data
- /mnt/user/appdata/yunkan/recordings:/app/data/recordings
- /etc/machine-id:/etc/machine-id:ro
- /sys/class/dmi/id/product_uuid:/sys/class/dmi/id/product_uuid:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=Asia/Shanghai
- SKYVIEW_SELF_CONTAINER_NAME=yunkan4. Start SkyView
Option A · CLI (recommended, full functionality):
cd /mnt/user/appdata/yunkan
docker compose up -d
docker logs -f yunkanOption B · GUI: Unraid Web UI → Docker tab → "Compose Manager" block → "Add New Stack" → name it yunkan → paste the compose.yml contents → "Compose Up".
After it starts, open http://<Unraid IP>:23406/ in the browser to enter the Setup wizard.
5. Ports and firewall
Unraid ships without a firewall, so every port is reachable on the host NIC. On the LAN, SkyView uses 23406/tcp (required), 23515/udp + tcp (live video) and 23880/tcp (RTSP, optional); 24214/tcp is internal and does not need to be exposed.
Don't expose to the public internet
6. FAQ
iGPU passthrough not working / OpenVINO reports GPU not found
ls -la /dev/dri/ over SSH — you should see card0 / renderD128. Otherwise the wrong plugin is installed or the machine has no iGPU (check lspci | grep -i vga).NVIDIA GPU passthrough not working
nvidia-smi over SSH (available once the NVIDIA Driver plugin is installed); if you see the GPU, the host side is fine. If docker exec yunkan nvidia-smi fails inside the container after compose starts, confirm the image is yunkan-cuda and not yunkan-openvino.Upgrading: docker socket permissions are normal on Unraid, so the web console's one-click online upgrade works out of the box; you can also upgrade manually with cd /mnt/user/appdata/yunkan && docker compose pull && docker compose up -d.
7. Hailo-8 / 8L accelerator (optional)
With a Hailo-8 or Hailo-8L accelerator (PCIe / M.2) installed, SkyView automatically runs object detection, face detection and other recognition on the card, which takes a lot of load off the CPU. No settings to change. The cpu and openvino images support it; the cuda / trt images do not. On Unraid, set it up in the four steps below.
- 1
Install the driver plugin
In Apps, search for Hailo RT Driver (by ich777) and install it. Open the plugin settings, set the driver version to 4.24.0 (it must match SkyView), then reboot Unraid. After the reboot, run the command below in the Unraid terminal. If
/dev/hailo0is listed, the driver is ready.bashls /dev/hailo0 - 2
Add the boot parameter cma=64M
This reserves a small block of contiguous memory for the card. Without it, loading recognition models can fail now and then once the machine has been running for a while. Booting from a USB flash drive (most users): open Main → Syslinux Configuration and add
cma=64Mto the end of theappendline of your boot entry, so it looks like the line below. Unraid 7.3+ booting from an internal drive: open Settings → Boot Parameters, switch to Raw View, addcma=64Mto the end of thelinuxline and click Save Raw Config. Then reboot Unraid.textappend initrd=/bzroot cma=64M - 3
Check that it took effect
After the reboot, run the command below in the Unraid terminal. You should see
CmaTotal: 65536 kB. If it shows 0, the parameter was not applied; go back to the previous step.bashgrep -i cma /proc/meminfo - 4
Attach the card to the SkyView container
Installed from Apps: on the Docker page, click the SkyView container → Edit, click Add another Path, Port, Variable, Label or Device at the bottom of the page, set Config Type to Device and Value to
/dev/hailo0, then click Apply. The container is recreated automatically. Using compose: add/dev/hailo0:/dev/hailo0underdevices:and rundocker compose up -d.yamldevices: - /dev/dri:/dev/dri - /dev/hailo0:/dev/hailo0
Then open the SkyView web console → Settings → Detection. When the "Hailo accelerator" row says "Hailo-8 in use" and the table below shows object detection and the like running on Hailo, you're done. If a step is missing, that row tells you exactly what's left.
Why cma=64M
One card, one container at a time
Was this page helpful?