Sign inSign up

naore/btsync-alpine

By naore

•Updated over 1 year ago

btsync 1.4.111

Image
0

100K+

naore/btsync-alpine repository overview

⁠forked from FreemanZY/BTSync-DHT-Docker⁠

⁠BTSync-DHT-Docker

BTSync Ver.1.4.111, the last one with DHT.

The purpose of the project is letting people deploy the sync through DHT quickly.


The package hash is as below:

SHA256

btsync_x64-1.4.111.tar.gz

6ea03cd2f60177baca58c701b80e1abf44b7c42fc4ec5b8bcfd3b266876e832f

⁠Usage

docker run -d \
	--name=btsync \
	--restart=always \
	-v /app/data/:/btsync/data \
	-v /sync/data/:/mount \
//	-e PGID=\<gid\> -e PUID=\<uid\> \
	-p 8888:8888 \
	-p 55555:55555 \
	-p 55555:55555/udp \
	naore/btsync-alpine

Parameters

  • -p 8888 - the port sync listens for connections on for webUI
  • -p 55555 - the port sync listens for connections on for Torrent traffic
  • -v /config - configuration storage
  • -v /mnt/point - to be replaced with the locations you wish to make available to Sync
  • -e PGID for for GroupID - see below for explanation
  • -e PUID for for UserID - see below for explanation
⁠User / Group Identifiers

TL;DR - The PGID and PUID values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).

Part of what makes our containers work so well is by allowing you to specify your own PUID and PGID. This avoids nasty permissions errors with relation to data volumes (-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.

⁠Update glibc

⁠Dockerfile

FROM alpine
ENV GLIBC_VERSION=2.35-r1

COPY sgerrand.rsa.pub /etc/apk/keys/sgerrand.rsa.pub
COPY glibc-${GLIBC_VERSION}.apk /tmp/glibc.apk
COPY glibc-bin-${GLIBC_VERSION}.apk /tmp/glibc-bin.apk
COPY btsync /opt/btsync/btsync
COPY btsync.conf /btsync/config/btsync.conf

RUN apk add --no-cache --update-cache --update libc6-compat libgcrypt /tmp/glibc.apk /tmp/glibc-bin.apk; exit 0 && \
    rm -rf /var/cache/apk/* /tmp/*.apk

EXPOSE 8888 55555
VOLUME /mount /btsync/data /btsync/config
ENTRYPOINT ["/opt/btsync/btsync"]
CMD ["--nodaemon","--config","/btsync/config/btsync.conf"]

Tag summary

Content type

Image

Digest

sha256:2474ddf1a…

Size

16.8 MB

Last updated

over 1 year ago

docker pull naore/btsync-alpine