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.

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

Most Unraid users should just use CA: YunKan is a single container with everything inside, and a CA install runs out of the box — the web console's one-click online upgrade also works out of the box (the template already mounts the docker socket). Use the docker compose path below only in two cases: (1) you need custom ports (hardcoded in the image, not changeable in the container panel); (2) Unraid < 6.12 / no CA plugin installed.
  1. 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.plg to install.

  2. 2

    Search and install (pick one; port conflicts mean you can't install more than one)

    Apps tab → type yunkan in 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. 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

The OpenVINO variant needs the Intel GPU TOP plugin first, and the CUDA variant needs the NVIDIA Driver plugin first — detailed steps are in 2. Prerequisites below. The port-conflict / public-exposure warning / iGPU passthrough FAQ in the compose-path sections below apply to the CA path too.

OTA upgrades

On the CA path, the Apps tab shows a red badge when a new version is available — click Update to pull the new image and recreate the container. You can also upgrade with one click in the YunKan web console → Settings → System upgrade (failed upgrades roll back automatically). Both ways are equivalent; pick either.

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.

HardwareRecommended variantRequired plugin
Intel CPU + iGPU (11th gen+)openvinoIntel GPU TOP
NVIDIA GPU (GTX 1060+ / VRAM ≥ 4GB)cudaNVIDIA Driver
NVIDIA GPU + VRAM ≥ 8GB (2060+ / 3060+)trtNVIDIA Driver
CPU only (no iGPU / no discrete GPU)cpuNone

2. Prerequisites

  1. 1

    Confirm the Unraid version

    Tools → Update OS, check version ≥ 6.12.13 (older versions need the Docker Compose Manager plugin)

  2. 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/dri or /dev/nvidia* appears afterward

  3. 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):

bash
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.yml

Intel iGPU or NVIDIA GPU

The default compose file uses the openvino variant (Intel iGPU). NVIDIA users: change image: to yunkan-cuda or yunkan-trt, and uncomment deploy.resources in the file.
yaml
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=yunkan
compose.yml (minimal, paste and save)

4. Start SkyView

Option A · CLI (recommended, full functionality):

bash
cd /mnt/user/appdata/yunkan
docker compose up -d
docker logs -f yunkan

Option 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

Unraid listens on 0.0.0.0 by default + no firewall = any device on the upstream internet can scan your cameras directly. Always go through Tailscale / Wireguard / Cloudflare Tunnel + HTTPS. See Clients → Remote access.

6. FAQ

iGPU passthrough not working / OpenVINO reports GPU not found

Confirm the Intel GPU TOP plugin is installed and you've rebooted, then run 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

Run 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. 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/hailo0 is listed, the driver is ready.

    bash
    ls /dev/hailo0
  2. 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=64M to the end of the append line 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, add cma=64M to the end of the linux line and click Save Raw Config. Then reboot Unraid.

    text
    append initrd=/bzroot cma=64M
  3. 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.

    bash
    grep -i cma /proc/meminfo
  4. 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/hailo0 under devices: and run docker compose up -d.

    yaml
        devices:
          - /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

By default Unraid reserves no contiguous memory for the driver. That's fine right after boot, but after a few days of uptime memory gets fragmented and loading a recognition model can fail. Some recognition then falls back to the CPU and CPU usage goes up (the settings page says the host is out of contiguous memory). Reserving 64MB stops this. The system can still use that memory while the driver doesn't need it, so nothing is wasted.

One card, one container at a time

If Frigate or another container also uses the card, stop it first. The driver version must also match SkyView (currently 4.24.0); if you pick a different version in the plugin, SkyView reports a version mismatch.

Was this page helpful?

Unraid Deployment - SkyView Docs