This is a dockerised version of the Unifi Access Point (UAP) Controller.
Create a named volume to persist data:
docker volume create --name unifi-data
Pull the image for the desired version of the controller:
docker pull csmith/unifi:4.8.18
Start a container, exposing ports as needed:
docker run -d --name unifi \
--restart always \
-p 8443:8443 \
-p 8080:8080 \
-v unifi-data:/var/lib/unifi \
csmith/unifi:4.8.18
The container exposes these ports: