UniFi Network

Ubiquiti UniFi Network Application for managing UniFi access points, switches, and gateways.
Requires ocijail with annotation support (≥ 0.6.0)
This image needs the jail permission allow.mlock, applied via OCI annotations. FreeBSD quarterly ships ocijail 0.4.0, which has no annotation support — the container starts but the permission is silently dropped, so the app can crash or misbehave. Point your pkg repos at the latest branch (ocijail ≥ 0.6.0) and run with the annotation flag shown below. See the ocijail guide.
Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.
Deployment
Interactive Configuration
Parameters
Environment Variables
| Variable |
Default |
Description |
PUID |
1000 |
User ID for the application process |
PGID |
1000 |
Group ID for the application process |
TZ |
UTC |
Timezone for the container |
Volumes
| Path |
Description |
/config |
Configuration and database directory |
Ports
| Port |
Protocol |
Description |
8443 |
TCP |
Web UI (HTTPS) |
8080 |
TCP |
Device inform |
8843 |
TCP |
Guest portal HTTPS |
8880 |
TCP |
Guest portal HTTP |
6789 |
TCP |
Mobile throughput test |
3478 |
UDP |
STUN (UDP) |
10001 |
UDP |
Device discovery (UDP) |
Implementation Details
- Architectures: amd64, aarch64
- User:
bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
- Base: Built on
ghcr.io/daemonless/base (FreeBSD 15.1).
- mlock: Requires
--annotation 'org.freebsd.jail.allow.mlock=true' (ocijail 0.5.0+)
Need help? Join our Discord community.