PHLAK / docker-syncthing

Docker image for Syncthing client/node.

Home Page:https://hub.docker.com/r/phlak/syncthing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-syncthing

Docker Syncthing

Join the Community Become a Sponsor One-time Donation
Docker Image Version Docker Pulls License Docker Cloud Build Status

Docker image for Syncthing client/node.


Running the Container

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
Map a directory (i.e. /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
Set the timezone for your server. You can find your timezone in this list of timezones. Use the (case sensitive) value from the TZ column. If left unset, timezone will be UTC.
--restart unless-stopped
Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before. See the Docker restart policies for additional details.

Troubleshooting

For general help and support join our GitHub Discussions or reach out on Twitter.

Please report bugs to the GitHub Issue Tracker.

Copyright

This project is licensed under the MIT License.

About

Docker image for Syncthing client/node.

https://hub.docker.com/r/phlak/syncthing/

License:MIT License


Languages

Language:Dockerfile 84.4%Language:Makefile 15.6%