This is a fork of the official Resilio Sync for Docker repository with some changes to be used on all architectures supported by Resilio Sync.
This repository is based debian stable slim image unlike the official repository, which uses an Ubuntu image.
The image is both available in Docker Hub as outlyernet/resiliosync-multiarch
and in GitHub's Container Registry as ghcr.io/outlyer-net/resiliosync-multiarch
.
This is my recommended way of running.
Edit docker-compose/docker-compose.yml
to fit your needs, then:
cd docker-compose
docker compose up -d
See upstream usage instructions below, simple example:
docker run -d --name Sync \
-p 127.0.0.1:8888:8888 \
-p 55555/tcp \
-p 55555/udp \
-v ./data:/mnt/sync \
-v /etc/localtime:/etc/localtime:ro \
--restart always \
outlyernet/resiliosync-multiarch
Docker will automatically pull the appropriate image for the architecture it is invoked on.
Included architectures: amd64, arm v5, arm v7, arm v8 (aka aarch64) and i386.
Each version is tagged with a semantic versioning scheme, e.g. :2.8.0
. :latest
always points to the most up to date version.
docker pull outlyernet/resiliosync-multiarch
or
docker pull outlyernet/resiliosync-multiarch:latest
or
docker pull outlyernet/resiliosync-multiarch:2.8.0
NOTE: Previous versions have separate tags for each architecture, I'm dropping these now that multiarch support in Docker is more widespread.
docker pull ghcr.io/outlyer-net/resiliosync-multiarch
or
docker pull ghcr.io/outlyer-net/resiliosync-multiarch:latest
or
docker pull ghcr.io/outlyer-net/resiliosync-multiarch:2.8.0
A Makefile is included to ease building.
Build for the current architecture with Docker:
docker build . -t resilio
or using the makefile, e.g. to build for amd64:
make build PLATFORMS=linux/amd64
The list of current platforms is:
linux/amd64
linux/i386
linux/arm/v7
linux/arm64
linux/arm/v5
Multiple platforms can be passed, separated by commas, e.g. to build for amd64 and arm64:
make PLATFORMS=linux/amd64,linux/arm64
make
To build without using the makefile:
docker build .
- Official Docker image README
- Docker Hub repository:
outlyernet/resiliosync-multiarch
- Github repository:
outlyer-net/resiliosync-multiarch