Skip to content

Docker for Rclone FUSE mount (exposable to host and other containers)

License

Notifications You must be signed in to change notification settings

tynor88/docker-rclone-mount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-rclone-mount

Docker for Rclone FUSE mount (exposable to host and other containers)

Supported Cloud Services:

  • Google Drive
  • Amazon S3
  • Openstack Swift / Rackspace cloud files / Memset Memstore
  • Dropbox
  • Google Cloud Storage
  • Amazon Drive
  • Microsoft One Drive
  • Hubic
  • Backblaze B2
  • Yandex Disk
  • The local filesystem

Creating the initial config file (.rclone.conf)

docker exec -it Rclone-mount rclone --config="/config/.rclone.conf" config

IMPORTANT Extra Parameters:

In order for the FUSE mount to be exposable to the host and other docker containers, these settings have to be in the Extra Parameters option in the "Advanced View" when setting up the Docker. I've already made them default in the CA template file.

--cap-add SYS_ADMIN --device /dev/fuse --security-opt apparmor:unconfine -v /mnt/disks/rclone_volume/:/data:shared

With the above settings, the FUSE will be mounted to /mnt/disks/rclone_volume

Note if you cannot see the mount inside other dockers

This container must be started BEFORE other docker containers when sharing the FUSE mount. For automatically fixing this at startup, use the great CA Docker Autostart Manager Plugin by @Squid

More documentation can be found on Unraid Forums

NOTE: Updated for Rclone v1.50.2

About

Docker for Rclone FUSE mount (exposable to host and other containers)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •