UniFi Controller container setup
Introduction
The UniFi Controller is software that allows users to configure and monitor UniFi devices like access points, switches, and firewalls.
Setup
-
Create the folders needed by the container
Run the following commands inside your home folder:
-
Create the script needed to run the container
Save the following script as
unifi_run.sh
:Instructions:
- Optional Replace
docker
withpodman
if needed - Optional Replace
--net=host
with ports to pass through if you want to expose ports. Here is described how to check if ports are available - Optional Replace
$PWD/unifi
with your location if needed - Required Replace
Europe/Amsterdam
with your own timezone
- Optional Replace
-
Run the script to create the container
Run the following command:
The image
jacobalberty/unifi
is automatically pulled and the container is created. -
Check the results
If needed you can check if the container is running properly.
In a minute or two, (after UniFi Controller starts up) you can go to https://localhost:8443 to complete configuration from the web (initial install) or resume using UniFi Controller. Replace localhost with the relevant IP address or FQDN if needed, and adjust the port if you changed it earlier.
No comments found for this note.
Join the discussion for this note on Github. Comments appear on this page instantly.