This is a first attept at a building a Unifi server via Docker. Strongly recommend ignoring for the time being as there are going to be issues :)
docker build -t “woodster1975:unifi" .
docker run -d
--name=unifi-controller
-it
-p 3478:3478/udp
-p 10001:10001/udp
-p 8080:8080
-p 8443:8443
-p 1900:1900/udp
-p 8843:8843
-p 8880:8880
-p 6789:6789
-p 5514:5514
--privileged
--restart unless-stopped
-v /home/paul/Docker/Unifi/config:/config
woodster1975/unifi
service unifi stop
rsync -avzh /var/lib/unifi/ /config/unifi
rm -r -f /var/lib/unifi
ln -s /config/unifi /var/lib/unifi
service unifi start