tribler Docker & Self-Hosted Deployment

GitHub

Privacy enhanced BitTorrent client with P2P content discovery

5,227 stars Python Python 1 file ยท ~4,544 tokens #bittorrent#decentralized#p2p#privacy#python#search#streaming#tor
RAW Compose
1. Pull Image (GHCR) docker pull ghcr.io/tribler/tribler
2. Docker Run (1-Click Launch) docker run -d --name tribler --restart always ghcr.io/tribler/tribler:latest
3. Podman Run podman run -d --name tribler --restart always ghcr.io/tribler/tribler:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://ghcr.io/tribler/tribler:latest
5. ORAS Pull (OCI Artifact) oras pull ghcr.io/tribler/tribler:latest
6. Compose Deployment docker compose up -d
build/docker/compose.yml
Download .yml

services:
  tribler:
    image: ghcr.io/tribler/tribler:latest
    security_opt:
      - apparmor:unconfined  # Not ideal, but allows DBUS communication TO host from the container (see "dirty hack")
    environment:
      - LANG=C.UTF-8
      # DBUS/Xorg stuff
      - DISPLAY=$DISPLAY
      - DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS
      - XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR
      - XAUTHORITY=$XAUTHORITY
      - XDG_CACHE_HOME=$XDG_CACHE_HOME
      # Dirty hack to forward org.freedesktop.portal.Desktop DBUS to host
      - BROWSER=x-www-browser
      # Tribler settings
      - CORE_API_PORT=8085
      - CORE_API_KEY=changeme
    network_mode: host
    volumes:
      # Tray icons
      - $XDG_CACHE_HOME/tmp/:/tmp
      # Xorg stuff
      - /run:/run
      # Tribler directories
      - ~/.Tribler:/state
      - ~/downloads/TriblerDownloads:/downloads
    user: $(id -u):$(id -g)