Coder Social home page Coder Social logo

docker-syncthing-armhf's Introduction

THIS IMAGE IS DEPRECATED. PLEASE USE THE MULTI-ARCH IMAGES AT linuxserver/syncthing

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!

lsioarmhf/syncthing

Docker PullsDocker StarsBuild Status

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

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>  \
  -e UMASK_SET=<022> \
  -p 8384:8384 -p 22000:22000 -p 21027:21027/udp \
  lsioarmhf/syncthing

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • -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
  • -e UMASK_SET for umask setting , optional , default if left unset is 022.
  • -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

IMPORTANT... THIS IS THE ARMHF VERSION

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

  • container version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' syncthing

  • image version number

docker inspect -f '{{ index .Config.Labels "build_version" }}' lsioarmhf/syncthing

Versions

  • 22.01.19: This image is deprecated. Please use the multi-arch images at linuxserver/syncthing
  • 30.07.18: Rebase to alpine 3.8 and use buildstage.
  • 26.01.18: Rebase ta alpine 3.7.
  • 25.10.17: Add env for manual setting of umask.
  • 29.07.17: Simplify build structure as symlinks failing on > 0.14.32
  • 30.05.17: Rebase ta alpine 3.6.
  • 08.02.17: Rebase ta alpine 3.5.
  • 01.11.16: Switch to compiling latest version from git source.
  • 14.10.16: Add version layer information.
  • 01.10.16: Initial Release.

docker-syncthing-armhf's People

Contributors

aptalca avatar ironicbadger avatar j0nnymoe avatar lonix avatar omgimalexis avatar sparklyballs avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sparklyballs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.