Skip to content

AndersBallegaard/Unifi-sdn-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Unifi Network Controller Docker image

This is an unofficial docker image for unifi network controller

Check it out on Docker Hub: https://hub.docker.com/r/andersballegaard/unifi-sdn-controller

How to run

Since the image use systemd this container needs to run as a priviledged container with access to cgroups. Remember to take manual backups once in a while. Note while testing this i needed to join AP's using SSH, L2 and L3 discovery should in theory work, but if it doesn't then try SSH.

The following command is the recomended way of running it

docker run --name unifi-controller \
    -p 3478:3478/udp \
    -p 8000:8443 \
    -p 10001:10001 \
    -p 1900:1900/udp \
    -p 8080:8080 \
    -p 6789:6789 \
    --privileged \
    -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
    --restart=always \
    -d andersballegaard/unifi-sdn-controller

Update unifi Network controller version

  1. Go to https://www.ui.com/download/unifi
  2. Find the latest version of Unifi network controller for Debian/ubuntu and copy the direct url
  3. Update Dockerfile with the new url (see example for version 5.13.29)
RUN wget https://dl.ui.com/unifi/5.13.29/unifi_sysvinit_all.deb -O unifi_controller.deb
  1. Build the docker image
docker build -t andersballegaard/unifi-sdn-controller .

About

A docker container for the Unifi Network Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published