Recently I bought a Synology DS918+ to replace my 5-year old DS414slim. Because I want to do some more things then only do some data storage for the family.
I also recently bought an Ubiquiti UniFi AP-AC-PRO to replace my 6-year old Apple Airport Express. I didn’t want to buy the Cloudkey, because I saw that it is possible to run the UniFi Controller on Docker.
So I planned a evening to setup this up and it is working perfect and now it’s time to share the setup.
I will do the setup on a virtual Synology which is running on Virtual Box.
I’ll assume that your DiskStation does support the Docker installation.
There are to options to find this:
1. Check the website https://www.synology.com/en-us/dsm/packages/Docker
2. Search in the Package Center for Docker. If you have a result, then your DiskStation will support Docker. If not, time to buy a new DiskStation. 🙂
Do you have Docker installed? Yes? Oké. Let’s go!
- SSH into your DiskStation, eg. with Putty and login. As you can see, I logged in with my account and did sudo -i to enter root.
docker pull jacobalberty/unifi:latest
docker run -d --name=unifi-controller --net=host --volume=/volume1/docker/unifi-controller:/var/lib/unifi -p 8080:8080/tcp -p 8081:8081/tcp -p 8443:8443/tcp -p 8843:8843/tcp -p 8880:8880/tcp -p 3478:3478/udp jacobalberty/unifi:latest
So I hope that this article will help you. If you’ve any questions, please contact me.
Also published on Medium.