Sign inSign up

itstoggle/docker-volume-rclone_rd

By itstoggle

Updated over 3 years ago

forked rclone volume plugin for realdebrid support

Plugin
14

10K+

itstoggle/docker-volume-rclone_rd repository overview

Start from installing Docker on the host.

The FUSE driver is a prerequisite for rclone mounting and should be installed on host:

sudo apt-get -y install fuse

Create two directories required by rclone docker plugin:

sudo mkdir -p ~/rclone/config
sudo mkdir -p ~/rclone/cache

Install the managed rclone docker plugin for your architecture (here amd64):

docker plugin install itstoggle/docker-volume-rclone_rd:amd64 args="-v" --alias rclone --grant-all-permissions config=~/rclone/config cache=~/rclone/cache

Create your realdebrid volume, replace "your-api-key-here" with your realdebrid api key (https://real-debrid.com/apitoken):

docker volume create realdebrid -d rclone -o type=realdebrid -o realdebrid-api_key=your-api-key-here -o allow-other=true -o dir-cache-time=10s

To check the if the volume has been created successfully, run:

docker run --rm -i -v=realdebrid:/tmp/myvolume busybox find /tmp/myvolume

You should see your realdebrid files listed.

You can now mount this volume into any other container (a plex container for example). To add it to plex, edit your plex compose file to something similar to this:

version: '3'
services:
    pms-docker:
        image: plexinc/pms-docker:plexpass
        container_name: plex
        ports:
            - ...
        volumes:
            - ...
            - realdebrid:/torrents        

volumes:
    realdebrid:
        external: true

Check out https://rclone.org/docker/ for more general usage information.

Tag summary

Content type

Plugin

Digest

sha256:a955735a1

Size

17.7 MB

Last updated

over 3 years ago

docker plugin install itstoggle/docker-volume-rclone_rd