UniFi controller Docker
docker pull lscr.io/linuxserver/unifi-controller
docker run -d \ --name=unifi-controller \ -e PUID=1000 \ -e PGID=1000 \ -p 3478:3478/udp \ -p 10001:10001/udp \ -p 8080:8080 \ -p 8443:8443 \ -p 1900:1900/udp `#optional` \ -p 8843:8843 `#optional` \ -p 8880:8880 `#optional` \ -p 6789:6789 `#optional` \ -p 5514:5514/udp `#optional` \ -v /opt/unifi-config:/config \ --restart unless-stopped \ lscr.io/linuxserver/unifi-controller