Docker images for Rclone bundled with Supercronic
433
An opinionated set of simple Docker containers with Rclone and Supercronic.
Being slightly opinionated there isn't any ENTRYPOINT specified, instead only a default CMD to run Supercronic with the bundled /etc/crontab file that simply echoes a short message once a minute. This means you can easily change what the container does without having to override an ENTRYPOINT, and if you want to use the Supercronic functionality you only need to mount in your own crontab file at /etc/crontab and run the container without any additional args.
$ docker run --rm -it \
-v $PWD/conf:/conf \
-v $PWD/data:/data \
cewood/rclone:alpine_UPDATEME \
rclone config show
version: "3.4"
services:
rclone:
image: cewood/rclone:alpine_UPDATEME
container_name: rclone
working_dir: /data
volumes:
- "./rclone/conf:/conf"
- "./rclone/data:/data"
restart: unless-stopped
labels:
org.label-schema.group: "backups"
Currently the following distributions are included:
Currently the following architectures are built for each image variant:
** the bug in question is https://github.com/docker/buildx/issues/314
If we were running a normal system in an interactive manner, then normal Cron or friends (Anacron, Fcron, etc) would be fine choices. However in a containerised environment, these traditional cron implementations have some downsides, that make Supercronic a better fit. Namely the printing of jobs output to stdout, hence when running Supercronic as the ENTRYPOINT/CMD I can see the output of the jobs being run without having to jump through any hoops. There are undoubtedly other features that Supercronic brings with it that make it a better fit for use in containers, but this was the main motivator for me.
Content type
Image
Digest
Size
76.1 MB
Last updated
almost 5 years ago
docker pull cewood/rclone:ubuntu_latest