Docker on Synology DSM

I’ve created a docker image for Syncthing and it runs. I’ve:

  • Added volume mappings
  • Set folder permissions
  • Using the host network
  • Removed STGUIADDRESS

Now the container starts but I can’t access the UI on :8384 from my computer. Probably because this is a remote machine thus no access allowed. As this is running on my Synology NAS it has no desktop / local UI.

What to do to get remote access?

It seems that STGUIADDRESS is required to get remote access. However, I’m getting an error if it is present:

[PCTSI] 09:53:16 WARNING: Failed starting API: listen tcp 0.0.0.0:8384: bind: address already in use

If I don’t have this config setting it reports:

[PCTSI] 10:26:54 INFO: TCP listener ([::]:51267) starting
[PCTSI] 10:26:54 INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
[PCTSI] 10:26:54 INFO: GUI and API listening on 127.0.0.1:48070
[PCTSI] 10:26:54 INFO: Access the GUI via the following URL: http://127.0.0.1:48070/

I then set STGUIADDRESS to 0.0.0.0:48070 and it works!

You are probably running Syncthing twice.

Yes, you are right! Syncthing was still running as a package in DSM.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.