Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install the Unifi Controller software in a Docker container on Mac.
  1. Install Docker Desktop for Mac

  1. Download the unifi-controller container.
  • docker pull linuxserver/unifi-controller

  1. Create a new container using ~/Documents/unifi (or any folder) to store the settings.
docker create \
--name=unifi-controller \
-e PUID=1000 \
-e PGID=1000 \
-e MEM_LIMIT=1024M \
-p 3478:3478/udp \
-p 10001:10001/udp \
-p 8080:8080 \
-p 8081:8081 \
-p 8443:8443 \
-p 8843:8843 \
-p 8880:8880 \
-p 6789:6789 \
-v ~/Documents/unifi:/config \
--restart unless-stopped \
linuxserver/unifi-controller

  1. Helpful commands
  • docker stop unifi-controller
  • docker rm unifi-controller
  • docker start unifi-controller
  • docker image prune removes dangling images
  • docker container list --all lists containers
  • docker rmi HASH removes images
  • docker images lists images

  1. Start unifi-controller and view the website.
  • docker start unifi-controller
  • In Chrome goto: https://localhost:8443/

  1. Backup settings in ~/Documents/unifi for future use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.