Ubiquiti Unifi on Docker + Portainer

3rd December 2021

Couple notes on setting this up

Does work on a Raspberry Pi 3 1GB

Make sure you use the 64bit OS, as the docker image for armhf doesn’t exist

I have experience using jacobalberty/unifi:latest
there are likely others that work well, this one was updated recently

Forward the correct TCP and UDP ports

0.0.0.0:10001 10001/udp
0.0.0.0:1900 1900/udp
0.0.0.0:3478 3478/udp
0.0.0.0:6789 6789/tcp
0.0.0.0:8080 8080/tcp
0.0.0.0:8443 8443/tcp

Need to set the Inform host address otherwise Unifi can find new devices but they won’t adopt successfully

make sure you enter the IP address of your Linux host as it is likely different that what’s listed in the pic

In the Unifi Cloud Portal your network will show under Network Servers, Hardware CloudKeys show under Consoles

More info here

https://pimylifeup.com/raspberry-pi-docker/

https://pimylifeup.com/raspberry-pi-portainer/

https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/
headless setup and pre-configuring passwords, wifi etc