When you run your Unifi controller inside a Docker container
you might face the problem that your Unifi devices are stuck
adopting. The main cause might be that you are not running your HTTP port on 8080, which is the default.
I strongly advise to run on this port to prevent future problems with this.
SSH into each device using the IP address as shown under your
devices in your Unifi controller interface.
The username and password of your Unifi devices is ubnt / ubnt.
You might get the following error:
$ ssh firstname.lastname@example.org Unable to negotiate with 192.168.1.40 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
Use this SSH command:
$ ssh -oHostKeyAlgorithms=+ssh-dss email@example.com
After logging in you need to set-inform to http://<ip>:<port>/inform
UAP-HD-IW-BZ.6.0.19# set-inform http://192.168.1.45:9090/inform Adoption request sent to 'http://192.168.1.45:9090/inform'. Use the controller to complete the adopt process.
You should see your devices online again.