Skip to content

outlyer-net/resiliosync-multiarch

 
 

Repository files navigation

Unofficial Multi-architecture Resilio Sync Docker files

Static Badge GitHub Release GitHub Actions Workflow Status GitHub last commit

Static Badge Docker Image Version Docker Image Size

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.

Running with Docker Compose

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

Running with Docker

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

Pulling the image

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.

Pulling from Docker Hub

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.

Pulling from GitHub Container Registry

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

Build instructions

A Makefile is included to ease building.

Build for a single architecture

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

Build all architectures

make

Build with Docker

To build without using the makefile:

docker build .

Links