2016-08-28 15:23:13 +01:00
2015-08-25 14:39:39 +02:00
2015-08-25 14:39:39 +02:00
2016-08-11 12:06:33 +01:00
2016-08-28 15:21:14 +01:00

https://linuxserver.io

The LinuxServer.io team brings you another container release featuring easy user mapping and community support. Find us for support at:

  • forum.linuxserver.io
  • IRC on freenode at #linuxserver.io
  • Podcast covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!

linuxserver/syncthing

[Docker Pulls][hub] [Docker Stars][hub] Build Status [hub]: https://hub.docker.com/r/linuxserver/syncthing/

Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

You can find some of the best documentation available on the web at docs.syncthing.net.

[syncthing][syncthingurl] [syncthingurl]: https://syncthing.net

Usage

docker create \
  --name=syncthing \
  -v *host path to config*:/config \
  -v *host path to data*:/mnt/any/dir/you/want \
  -e PGID=<gid> -e PUID=<uid>  \
  -p 8384:8384 -p 22000:22000 -p 21027:21027/udp \
  linuxserver/syncthing

Parameters

  • -v /config - This contain configuration to keep it static, as well as a default shared directory
  • -v /mnt/dir - Add multiple folders to allow Syncthing access to data you wish to sync
  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation
  • -p 8384 Webui Port
  • -p 22000 Listening Port
  • -p 21027/udp Discovery Port

It is based on alpine linux with s6 overlay, for shell access whilst the container is running do docker exec -it syncthing /bin/bash.

User / Group Identifiers

Sometimes when using data volumes (-v flags) permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify and it will "just work" ™.

In this instance PUID=1001 and PGID=1001. To find yours use id user as below:

  $ id <dockeruser>
    uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)

Setting up the application

You can find some of the best documentation available on the web at docs.syncthing.net.

**Note: ** The Syncthing devs highly suggest setting a password for this container as it listens on 0.0.0.0. To do this go to Actions -> Settings -> set user\password for the webUI.

Info

  • Shell access whilst the container is running: docker exec -it syncthing /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f syncthing

Versions

  • 28.08.16: Add badges to README.
  • 11.08.16: Rebase to alpine linux.
  • 18.12.15: Initial testing / release (IronicBadger)
  • 24.09.15: Inital dev complete (Lonix)
Description
No description provided
Readme GPL-3.0 887 KiB
Languages
Dockerfile 100%