Public Repository

Last pushed: 3 years ago
Short Description
BitTorrent Sync 2.0 running on Ubuntu 14.04
Full Description

BitTorrent Sync 2.0 headless.

Source: https://github.com/mturilin/btsync-docker

Features:

  • Latest version of BitTorrent Sync
  • Multiple instances of BT Sync per single host (could be useful for home NAS servers that host BT Sync for several household members)

#Running

Ports

To run sync the following ports should be mapped:

  1. Web UI port - to configure the instance
  2. Listening port - to receive data from other devices

Volumes

BitTorent Sync needs a root folder to store the synced data. This folder should be mapped to /btsync/ folder inside the container.

Single instance

Usually, the default configuration is enough for running a single copy of Sync.

docker run -p 8888:8888 -p 55555:55555 -v /some folder on my machine/:/btsync/ mturilin/btsync

Multiple instances

To run multiple instances we need to redefine some ports. For example, to run 3 instances we can use the following parameters:

  • Instance 1: listening port=55555, web port=8888
  • Instance 2: listening port=55556, web port=8889
  • Instance 3: listening port=55557, web port=8890

To run this configuration:

$ docker run -d -p 8888:8888 -p 55555:55555 -v /folder1/ -e LISTENING_PORT=55555 -e WEB_PORT=8888 mturilin/btsync

$ docker run -d -p 8889:8889 -p 55556:55556 -v /folder2/ -e LISTENING_PORT=55556 -e WEB_PORT=8889 mturilin/btsync

$ docker run -d -p 8890:8890 -p 55557:55557 -v /folder3/ -e LISTENING_PORT=55557 -e WEB_PORT=8890 mturilin/btsync
Docker Pull Command
Owner
mturilin