Quick & Easy: Install or Upgrade Unifi Network Docker Container

Install

  • docker run -d --name uni --restart=unless-stopped --privileged -e TZ=Europe/Oslo -v /opt/uni_data:/unifi --network=host jacobalberty/unifi:latest

Upgrade

  • docker stop uni
  • docker rm uni
  • docker pull jacobalberty/unifi:latest
  • docker run -d --name uni --restart=unless-stopped --privileged -e TZ=Europe/Oslo -v /opt/uni_data:/unifi --network=host jacobalberty/unifi:latest

  • /opt/uni_data is the data folder, where all the config and other data is stored
  • TZ=Europe/Oslo is the timezone, change to yours
  • -v /opt/uni_data is the path to unifi data