How to set up Ubiquiti's Unifi Controller on a Raspberry Pi using Docker

Опубликовано: 26 Март 2026
на канале: Dion Munk
13,623
209

Jump to 5:16 if you've already got your Pi set up. Otherwise, let's go through the processes to set up our own Ubiquiti Cloud Key by installing Ubiquiti's Unifi Controller on a Raspberry Pi using Docker, which will let you manage your Unifi network.

You can get a text walkthrough with all of the commands here: https://dionmunk.com/posts/2020/05/04...

IMPORTANT NOTE: Make sure your Raspberry Pi gets a static IP address on your network before you start adopting devices. NEVER CHANGE THIS IP! If it does change, your Unifi devices will not be able to be provisioned correctly unless you manually change the provisioning address on each device!

GEAR IN THIS VIDEO:
Raspberry Pi 4 2GB: https://amzn.to/3pMMnFy
16GB MicroSD Card: https://amzn.to/30L5unj
Unifi Secure Gateway: https://amzn.to/3dgJvtA
Unifi Switch 8 60W: https://amzn.to/3fj9tOG
Unifi nanoHD: https://amzn.to/2YA2YB5
Unifi Cloud Key Gen 2: https://amzn.to/2Zbdbab

CHAPTERS:
0:00 - Intro
0:15 - Things to Know
1:53 - Installing Raspberry Pi OS
3:41 - Raspberry Pi Initial Setup
5:16 - Installing docker
6:17 - Installing docker-compose
7:40 - Setting Up docker-compose.yml
10:54 - Starting the Unifi Controller Docker Container
11:50 - Accessing the Unifi Controller
13:13 - How to Update the Unifi Controller Docker Container
13:53 - Conclusion

MY GEAR:
Computer - Macbook Pro M1 Max: https://amzn.to/3ICkcVB
Camera - Sony a6400: https://amzn.to/3Gpnf0E
Lens - Sigma 16mm f/1.4: https://amzn.to/3CtwDiv
Camera Cage - SmallRig CCS2310: https://amzn.to/3Zinjbc
Key Light - Neewer 10.6" Round LED Bi-Color: https://amzn.to/3Gpnp8g
Fill Lights - Neewer USB LED: https://amzn.to/3GqCJ4v
Background Lights - Philips Hue BR30 RGB: https://amzn.to/3jZCiH0

SOCIAL LINKS:
Patreon:   / dionmunk  
Twitter:   / dionmunk  
Instagram:   / dionmunk  
Facebook:   / dionmunktechjunkie  

ATTRIBUTION:
Music: Tomorrow by lleav https://chillhop.com/?p=2539
Other: https://dionmunk.com/attribution

DISCLOSURE:
I often review or link to products & services I regularly use and think you might find helpful. Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.

I'm a big fan of Amazon, and many of our links to products/gear are links to those products on Amazon. I'm a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and related sites.