Correct - Anybody using the current image would break, which is why I didn't PR it
To be honest I think the entrypoint is fine how it currently is. It's not hard to override, and only causes problems if you're trying to do something overly complex (like mount 9 drives in a single container). If rclone is being used as a standalone program as intended, it works fine.
If users are trying to do complex tasks with docker+rclone, they should be experienced enough to write their own dockerfiles and understand the ramifications of a bunch of FUSE mounts in a container. There are better ways to handle the OPs use-case without even having to overwrite the entrypoint, and provide a more stable environment, eg:
version: '3.7'
services:
rclone_gd: &template
image: rclone/rclone:beta
user: 1000:1000
restart: always
container_name: rclone
volumes:
- ~/.config/rclone:/config/rclone
- /mnt/google:/data:rshared
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse
security_opt:
- apparmor:unconfined
command: "mount gd:/cloud /data/cloud-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 128M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-cloud.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5576 --stats 0 --timeout 1h --umask 007 --use-mmap"
rclone_emp_gd:
<<: *template
command: "mount emp-gd:/ /data/emp-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-emp.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5571 --stats 0 --timeout 1h --use-mmap"
rclone_emp_out:
<<: *template
command: "mount emp-out:/ /data/emp-out-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-emp-out.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5575 --stats 0 --timeout 1h --use-mmap"
rclone_ipt_gd:
<<: *template
command: "mount ipt-gd:/ /data/ipt-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-ipt.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5572 --stats 0 --timeout 1h --use-mmap"
rclone_tnt_gd:
<<: *template
command: "mount tnt-gd:/ /data/tnt-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-tnt.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5573 --stats 0 --timeout 1h --use-mmap"
rclone_tnthb_gd:
<<: *template
command: "mount tnthb-gd:/ /data/tnthb-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-tnthb.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5580 --stats 0 --timeout 1h --use-mmap"
rclone_tnts_gd:
<<: *template
command: "mount tnts-gd:/ /data/tnts-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-tnts.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5574 --stats 0 --timeout 1h --use-mmap"
rclone_ts_gd:
<<: *template
command: "mount ts-gd:/ /data/ts-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-ts.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5578 --stats 0 --timeout 1h --use-mmap"
rclone_tss_gd:
<<: *template
command: "mount tss-gd:/ /data/tss-gd --allow-other --async-read=false --attr-timeout 1000h --buffer-size 32M --dir-cache-time 1000h --drive-chunk-size 32M --log-level INFO --log-file /data/logs/mount-tss.log --poll-interval 15s --rc --rc-addr 127.0.0.1:5579 --stats 0 --timeout 1h --use-mmap"