Syncthing Docker image running on Alpine Linux
Alpine Version 3.6.2 (Released Jun 17, 2017)
Syncthing Version 0.14.31
What is Alpine Linux?
Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. Read more about Alpine Linux here and you can see how their mantra fits in right at home with Docker images.
What is Syncthing?
- Minimal size only 8.16 MB and only 4 layers
- Memory usage is minimal on a simple install
- Syncthing 0.14.31
:latest- 64 bit Intel/AMD (x86_64/amd64)
:x86- 32 bit Intel/AMD (x86/i686)
:aarch64- 64 bit ARM (ARMv8/aarch64)
:armhf- 32 bit ARM (ARMv7/armhf)
PLEASE CHECK TAGS BELOW FOR SUPPORTED ARCHITECTURES, THE ABOVE IS A LIST OF EXPLANATION
:amd64latest branch based on amd64
:mastermaster branch usually inline with latest
:v0.0.0version number related to docker version
:arm32v7Armv7 based on latest tag but arm architecture
Creating an instance
To use this image include
FROM yobasystems/alpine-syncthing at the top of your Dockerfile.
docker run -d --restart=always --name alpine-syncthing -v /srv/sync:/srv/data -v /srv/syncthing:/srv/config -p 22000:22000 -p 21025:21025/udp -p 8384:8384 yobasystems/alpine-syncthing
Docker Compose example:
alpine-syncthing: image: yobasystems/alpine-syncthing expose: - "8384" - "22000" - "21027/udp" volumes: - /srv/sync:/srv/data - /srv/syncthing:/srv/config restart: always