Request - Official Docker Container


#1

Is there any chance we could have an official rclone docker container?

I’ve been playing with https://hub.docker.com/r/mumiehub/rclone-mount/ and https://hub.docker.com/r/tynor88/rclone/ but I would love to see something that is official and maintained with the latest version of rclone.

Many thanks


#2

I would think a docker is a bit overkill for one executable.


#3

Sure, but it would be a lot easier to manage, update and load onto systems like freenas, that’s all.


#4

Agreed… but… here’s the use case:
We all agree that UnionFS / MergerFS has to be implemented in order to get a good user write, so there’s that.

Then we all know that we need to use some scripts to upload / download at a certain file size or age, so there’s that too.

We know Docker doesn’t play well with sharing files the from the container to the host, so then we need a share of some sort, be it FTP or CIFS or NFS, so there’s that as well.

Then, potentially, there could be an additional file system caching layer like Libsqlfs to squash the Google Drive scanning issues.

If we were to put all of this into a single docker, I could see it getting some significant use.


#5

I haven’t got time to do this, but if anyone would like to send pull requests I’d be receptive!


#6

Hi,

I’m the developer of the rclone docker. I see someone managed to properly expose the rclone FUSE mounts to the host OS. So I might give mine container another go when he releases the source code for his docker :slight_smile:

@jtenniswood By the way my container already uses the latest version of rclone. You can see it in the Dockerfile: https://hub.docker.com/r/tynor88/rclone/~/dockerfile/


#7

Hi @thomast, I’ve got a new Synology and installed your rclone dockerfile onto it. How to I start the initial rclone config?


#8

@hari9

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

Given that “Rclone” is the name of the container


#9

thanks @thomast ! I also found that with my Synology under your rclone Docker I can start a terminal with a command (“Launch with Command”)

Any suggestions as to how I can have Synology run a script I have that runs rclone docker?

Edit: Would this work?
"docker exec -it Rclone rclone sync acd:_plex/tv/ /Plex/_plex/tv/


#10

@hari9

I’m not familiar with Synology, but the above will probably not work. The docker I made is supposed to be running in cron within the container, so it will expect some environment variables to be set. You can see the environment variables and volumes it expects to be passed on Github.

So what I would do is pass the correct environment variables, and let the docker container handle the scheduling for you. In this case Synology should be running the docker all the time.


#11

I looked into getting started with building a docker, but can’t seem to find the right starting place. Does anyone know of any good tutorials for building a new docker? I’m going to be looking to do an arch-based install. I use unraid for a host if that makes any difference.


#12

@xyber411 I already made two for rclone, one for copy/sync feature, and the other for FUSE mount feature.
Copy/Sync: https://forums.lime-technology.com/topic/50309-support-rclone-beta/
Mount https://forums.lime-technology.com/topic/56921-support-rclone-mount-with-exposable-fuse-support-for-plex-beta/


#13

Hi,

I’ve just wanted to share yet another docker image for rclone I’ve built during the last couple of days.
In my case I needed to:

  1. schedule sync with a cron, but also
  2. limit the time windows the sync should be running. And
  3. integrate healthchecks.io to monitor if the sync is able to succeed.

Although there is some feature overlap with @thomast 's docker image, someone else might find it useful

https://hub.docker.com/r/bcardiff/rclone/


#14

Maybe you docker image creators could create a page on the wiki “Docker Images” and list them there? https://github.com/ncw/rclone/wiki


#15

FYI I drop the image listed here at https://github.com/ncw/rclone/wiki/Docker-images


#16

Have to say, I can’t really see the point of this. Rclone is the easiest thing in the world to install (I run it on my Synology NAS and it’s about 4 commands to update - which I have scripted). Seems like the hassle of configuring a docker image and setting up the external mounts would be more effort than just, erm, running rclone directly?!


#17

hi Thomast

i am trying to pull and use your Rclone-Mount image but it will not allow me any help would be appreciated

docker pull tynor88/rclone-mount
Using default tag: latest
Error response from daemon: manifest for tynor88/rclone-mount:latest not found: manifest unknown: manifest unknown