I currently run Ubiquiti's UniFi Controller on a Raspberry Pi 3B without issue.
-
Install Raspbian on a SD card. I tested this with Stretch Lite (headless)
-
Use raspi-config to enable SSH (Interfacing Options) and set correct locale.
sudo raspi-config