Closed RezzZ closed 6 years ago
I see you're using bind mounting instead of docker volumes there. Can you verify that those directories exist in /opt/unifi
on your pi? Also check the docker logs to make sure it's not having trouble writing to them.
@RezzZ Actually I think the problem here is that you're trying to use the bridge network. The controller expects to be in the same broadcast domain as the managed devices unless you use layer 3 adoption. If you don't want to use host networking, I'd recommend you have a look at macvlan. https://docs.docker.com/network/macvlan/
thanks, putting the container in host mode seems to have fixed my problem.
Hi, just installed your docker on my pi3b+ but I keep having some problems. Every time my pi/docker container restarts (for development reasons) I need to re-adopt all my devices before I can control them. They stay on adopting otherwise after a restart of the container. I need to ssh into my devices to inform them of my new docker controller. It seems some important settings are not persisted. Any thoughts?
I use a minor adjusted version from your compose file: