How to fix "Filesystem Watcher Errors" when running in Docker?

Hi all,

I’m running Syncthing in a docker container on one of my machines (my server).

I’m getting the Filesystem Watcher Errors error and it says to look at these docs : https://docs.syncthing.net/users/faq.html#inotify-limits

How can I apply that fix in a docker environment?

Thanks a lot

It depends on the error you are seeing, but docker without a host volume mount uses overlayfs for the filesystem which deletes the data when the container exits, and that filesystem does not support watching and there is nothing you can do as far as I know.

Thank you. It turns out to solve this issue, you simply need to apply the fix in the FAQ to the host system, since docker does not virtualize the kernel.

I did this and it’s now working without the warning.

Hopefully that helps someone in the future.

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