phlak/syncthing
Docker image for Syncthing client/node.
First create some named data volumes to hold the persistent data:
docker volume create --name syncthing-config
docker volume create --name syncthing-data
Then run the Syncthing client:
docker run -d -p 8384:8384 -p 21025:21025/udp -p 22000:22000 -v syncthing-config:/etc/syncthing -v syncthing-data:/vol/storage --name syncthing-client phlak/syncthing
Optional arguments
-v /local/somedir:/vol/storage/somedir
/local/somedir
) on the host OS to the running container. This is useful for syncing files on the host system through the container. This replaces the -v syncthing-data:/vol/storage
run argument.-e TZ=America/Phoenix
TZ
column. If left unset, timezone will be UTC.--restart unless-stopped
For general help and support join our GitHub Discussions or reach out on Twitter.
Please report bugs to the GitHub Issue Tracker.
This project is licensed under the MIT License.
docker pull phlak/syncthing