Skip to content

Instantly share code, notes, and snippets.

@cpswan
Created January 21, 2018 15:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save cpswan/a65d57c3a492fd10a4b4505344b724a5 to your computer and use it in GitHub Desktop.
Command line to launch UniFi controller in a Docker container
sudo docker run --rm --init -d -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -p 10001:10001/udp -e TZ='Europe/London' -e RUNAS_UID0=false -e UNIFI_UID=1000 -e UNIFI_GID=1000 -v ~/unifi:/unifi --name unifi jacobalberty/unifi:stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment