Resilio

Resilio Sync is a peer‑to‑peer file synchronization service based on BitTorrent technology. Instead of syncing through a cloud server, every device syncs directly with every other device, giving you:

🚀 Docker Installation Steps

  1. Update your system
    sudo apt update && sudo apt upgrade -y
  2. Install Docker
    curl -fsSL https://get.docker.com -o get-docker.sh
    sudo sh get-docker.sh
  3. Install Docker Compose
    sudo apt install docker-compose-plugin
  4. Add your user to the Docker group
    sudo usermod -aG docker $USER
  5. Enable Docker at boot
    sudo systemctl enable docker
  6. Reboot
    sudo reboot
  7. Test Docker
    docker run hello-world

📁 Setup Resilio

Do this on the source and target devices:

mkdir ~/docker
mkdir ~/docker/resilio

🧾 Docker Compose File

In ~/docker/resilio, on the source and target devices, create docker-compose.yml

services:
  resilio:
    image: linuxserver/resilio-sync:latest
    container_name: resilio
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=022
    volumes:
      - ./config:/config
      - /:/sync # This will allow you to sync any directory on the system. You can change this to be more restrictive
    restart: unless-stopped

▶️ Start Resilio

From within ~/docker/resilio on the source and target run:

docker compose up -d

📜 View Logs

docker logs resilio

🌐 Access Web Interface

Open your browser and go to "http://<SOURCE_DEVICE>:8888 and "http://<TARGET_DEVICE>:8888. You can now add a remote device in the GUI and start syncing directories.

Once you have Resilio running on two or more systems (SystemA and SystemB), you can start syncing directories. Go to SystemA, click on the + and select Standard Folder. You should see a list of what's available. Click the directory you want to sync and click Open. Click on Key and copy the Key. Now go to SystemB, click on the +, click on Enter a key of link, paste in the Key, select Next and select the directory you want to sync to and click Open. The directories will start syncing in seconds.

If you find my content useful, please consider supporting this page:

☕ Buy Me a Coffee