my docker / unifi install script notes:
sudo nano /etc/os-release
change id=osmc to id=raspbian
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo nano /etc/os-release
change id=raspbian to id=osmc
sudo usermod -aG docker $USER
sudo apt install docker-compose
reboot
mkdir unifi && cd unifi
curl -O https://raw.githubusercontent.com/ryansch/docker-unifi-rpi/master/docker-compose.yml
sudo docker-compose up -d