start unifi-controller:
$ docker run -d \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Etc/UTC \
-e MEM_LIMIT=1024 `#optional` \
-e MEM_STARTUP=1024 `#optional` \
-p 8443:8443 \
-p 3478:3478/udp \
-p 10001:10001/udp \
-p 8080:8080 \
-p 8843:8843 `#optional` \
-p 8880:8880 `#optional` \
-p 6789:6789 `#optional` \
-p 5514:5514/udp `#optional` \
-v ~/routerconfig:/config \
--restart unless-stopped \
lscr.io/linuxserver/unifi-controller:latest
reachable at http://ip:8080 or http://ip:8443
do wizard (no ubiquiti cloud needed), then head to settings > system > advanced > inform host > override > put ip network address
join devices to network
settings > wifi > create wifi manual > guest nework