This worked great for finding my APs recently. This should allow the container to discover other systems like it would in a traditional installation.
Upgrade unifi controller ubuntu update#
The command we use in this post to handle starting the container will also update the container image as updates are available.
![upgrade unifi controller ubuntu upgrade unifi controller ubuntu](https://prd-www-cdn.ubnt.com/media/images/product-features/unifi-ap-ac-lr-features-super-antenna.jpg)
I based my docker-compose.yml configuration on the one they provide and then added some modifications which you’ll see in this post.
![upgrade unifi controller ubuntu upgrade unifi controller ubuntu](https://thepiguy.altervista.org/wp-content/uploads/2018/10/2018-10-10.png)
I found that path from linuxserver.io in the form of the docker-unifi-controller project. Unfortunately, Ubiquiti seems to really only support Ubuntu/Debian for this controller and I wasn’t interested in having that in my ecosystem at that point (more to manage, different tools, etc).Īs I was already experimenting with Docker in my lab for learning purposes, I set out to find a good way to run UniFi as a Docker container. However, my Linux ecosystem in my lab is intentionally CentOS 7. I could usually spend a day and recover everything, but it became a point of frustration.Īfter I decided to retire the Pi, I moved to having the controller virtualized on top of KVM running on Ubuntu.
Upgrade unifi controller ubuntu upgrade#
There were Java version mismatches that would break the upgrade most commonly and then random other problems with why the controller just wouldn’t start. This was a cool idea but, as updates would roll-in, I constantly found myself with a broken controller.
![upgrade unifi controller ubuntu upgrade unifi controller ubuntu](https://i2.wp.com/lessonsintech.com/wp-content/uploads/2020/08/unifi-cloud.jpeg)
Upon initially purchasing Ubiquiti APs back in 2017, I made the decision to run my UniFi controller on a Raspberry Pi. Following the steps in this article should get you a functional configuration for your own environment. The intent here is to walk you through the process of converting to a containerized controllwe and discuss my docker-compose.yml configuration choices. The purpose of this post is to provide a look at the configuration that I’m running in my own network for the Unifi Controller required for Ubiquiti UniFi equipment (wireless access points, switches, gateways).