Run UniFi Protect in Docker on ARM64 hardware.
Run the container as a daemon:
docker run -d --name unifi-protect-arm64 \
--privileged \
--tmpfs /run \
--tmpfs /run/lock \
--tmpfs /tmp \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v /storage/srv:/srv \
-v /storage/data:/data \
--network host \
markdegroot/unifi-protect-arm64:latestNow you can access UniFi Protect at https://localhost/.
UniFi Protect needs a lot of storage to record video. Protect will fail to start if there is not at least 100GB disk space available, so make sure to store your Docker volumes on a disk with some space (/storage in the above run command).
If you are stuck at a popup saying "Device Updating" with a blue loading bar after the initial setup, just run systemctl restart unifi-core inside the container or restart the entire container. This happens only the first time after the initial setup.
To build your own container put the deb file for unifi-core (for unifi-protect 1.17.3 you need unifi-core 1.6.65) in the put-unifi-core-deb-here folder and run:
docker build -t markdegroot/unifi-protect-arm64 .This Docker image is not associated with UniFi in any way. We do not distribute any third party software and only use packages that are freely available on the internet.