Mount a rclone remote inside a docker container.
docker run \
--cap-add SYS_ADMIN \
--device /dev/fuse \
-v ${HOST_CONF_DIR}:/config \
-v ${HOST_MOUNT_DIR}:/mount \
danielheene/rclone-mount
CONFIG_DIR /config # directory where config file is stored
CONFIG_FILE rclone.conf # name of the stored rclone config file
MOUNT_DIR /mount # directory where the volume is mounted
MOUNT_REMOTE mount # rclone volume name which will be mounted
CACHE_DIR /cache # directory which rclone uses for caching
[remote]
type = drive
...
[cache]
type = cache
remote = remote:
tmp_upload_path = /cache
...
[mount]
type = alias
remote = cache:
...