Run UniFi Protect in Docker on x86 hardware.
Important: This is version 1.13.3 of UniFi Protect which was released in 2020. UniFi stopped publishing the AMD64 binaries for UniFi Protect. We won't be supplying any more updates on the x86 version. Please take a look at unifi-protect-arm64 for a more recent ARM based version of this project.
Run the container as a daemon:
docker run -d --name unifi-protect-x86 \
--tmpfs /srv/unifi-protect/temp \
-p 7080:7080 \
-p 7443:7443 \
-p 7444:7444 \
-p 7447:7447 \
-p 7550:7550 \
-p 7442:7442 \
-v unifi-protect-db:/var/lib/postgresql/10/main \
-v unifi-protect:/srv/unifi-protect \
markdegroot/unifi-protect-x86:latest
Now you can access UniFi Protect at https://localhost:7443/
It's highly recommended that you set a memory limit on this container, otherwise it will use all of your RAM over time. Example below with -m 2048m
(2Gb memory limit):
docker run -d --name unifi-protect-x86 \
--tmpfs /srv/unifi-protect/temp \
-p 7080:7080 \
-p 7443:7443 \
-p 7444:7444 \
-p 7447:7447 \
-p 7550:7550 \
-p 7442:7442 \
-m 2048m \
-v unifi-protect-db:/var/lib/postgresql/10/main \
-v unifi-protect:/srv/unifi-protect \
markdegroot/unifi-protect-x86:latest
In the initial setup, you have to Adopt with your UI.com Account, otherwise the latest versions of the Protect app for Android and iOS won't be able to connect to your Protect instance.
To build your own container put the deb file for unifi-protect 1.13.3
(4707-Debian9_5famd64-1.13.3-85b0dd59653f41cc97b3599213a483c0.deb) in the put-unifi-core-deb-here
folder and run:
docker build -t markdegroot/unifi-protect-x86 .
Important: The deb-files required to build this image are no longer hosted by UniFi. You have to find your own version of this file and alter the Dockerfile setup.
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.