To begin, the script allows the UniFi controller to talk to it's APs through the Windows Firewall. The script downloads the UniFi controller software from Ubiquiti's website and the JRE 64bit edition ...
docker run \ --detach \ --restart=always \ --publish 8080:8080 \ --publish 8443:8443 \ --publish 8880:8880 \ --publish 8843:8843 \ --volume /path/to/unifi/data:/usr ...