Resolution
Well this was much more difficult than I think it should have been.
Resolution is specifying the type of bind
version: "3.8"
services:
rclone:
image: rclone/rclone
container_name: rclone_vfs
restart: unless-stopped
environment:
- PUID=1002
- PGID=1004
volumes:
- type: bind
source: /DATA/DockerData/Plex/data
target: /data
bind:
propagation: shared
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
- /DATA/DockerData/Plex/rclone/config:/config/rclone
- /DATA/DockerData/Plex/rclone/log:/log
- /DATA/DockerData/Plex/rclone/cache:/cache
privileged: true
cap_add:
- SYS_ADMIN
devices:
- /dev/fuse
security_opt:
- apparmor:unconfined
command: "mount gd:Cloud /data/mount --allow-other --log-file /log/rclone.log --log-level DEBUG --poll-interval 10s --umask 002 --drive-pacer-min-sleep 10ms --drive-pacer-burst 200 --vfs-cache-mode full --cache-dir /cache --vfs-cache-max-size 250G --vfs-cache-max-age 5000h --vfs-cache-poll-interval 5m --bwlimit-file 32M &"