Overview
Docker images for running Ubiquiti's UniFi Controller software on a Raspberry Pi.
Dockerfile
directory links
Supported tags and respective 5.6.42
,5.6
(v5.6.40/5.6)5.11.50
,5.11
(v5.11.50/5.11)5.12.66
,5.12
,5
,latest
(v5.12.66/5.12)5.13.18
(5.13)
Versions
Ubiquiti releases 'unstable', 'testing', and 'stable candidate' versions as part of its beta group release structure. These releases are included here. Only stable releases are tagged with their general version (ex: 5.6
for the 5.6.30
stable release) or with latest
.
Supported Architectures
arm32v7
,arm64v8
, amd64
Usage
Prerequisites
A Raspberry Pi running with Docker and Docker Compose installed on it. Guides such as this or this are available for beginners.
On rpi:
mkdir unifi && cd unifi
curl -O https://raw.githubusercontent.com/BassdoxXx/docker-unifi-rpi/master/docker-compose.yml
- (Optional) Edit
docker-compose.yml
to point to a different tag if you don't wantlatest
. sudo docker-compose up -d
From any computer on your network:
Visit https://raspberrypi.local:8443/ with your browser. Replace raspberrypi.local
with the actual hostname or local network IP address of your Raspberry Pi.
Building
./build.sh -v <docker version> -u <unifi version> [-t <additional docker tag> ...]
Example: ./build.sh -v 5.9.29 -u 5.9.29-04b5d20997 -t 5.9 -t 5 -t latest
Publishing
./publish.sh -v <docker version> -u <unifi version>
Example: ./publish.sh -v 5.9.29 -u 5.9.29-04b5d20997
Tagging a stable release
./tag.sh -v <docker version> -u <unifi version> [-t <additional docker tag> ...]
Example: ./tag.sh -v 5.9.29 -u 5.9.29-04b5d20997 -t 5.9 -t 5 -t latest