I’m using docker and Syncthing is working just fine with a separated config folder
located at /home/user/docker/syncthing
however, (presumably since i am binding syncthing data to my home dir) the container creates an EMPTY (and unused) config folder in my home directory:
/home/user/config (owned by root unless create manually)
I suspect this is a natural consequence of mounting things. When you mount a filesystem somewhere, bind or otherwise, the mount point must exist as a directory. You’re mounting /home/user/docker/syncthing into /var/syncthing/config, so /var/syncthing/config must exist. In turn, /var/syncthing is mounted from /home/user, so /var/syncthing/config becomes /home/user/config.