@
unishare #22 肯定是要 /dev/fuse 的,你不用命令行的话你可以试试 compose 写
下面是我在用的
version: '3'
services:
rclone:
image: rclone/rclone
container_name: rclone
mem_limit: 2048m
network_mode: bridge
restart: unless-stopped
user: 1026:101
volumes:
- ./config:/config/rclone
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
- /volume3/rclone/cache:/cache
- /volume3/rclone/data:/data:shared
devices:
- /dev/fuse
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
command: mount alist:/ /data/alist --use-mmap --umask 000 --network-mode --no-check-certificate --allow-other --allow-non-empty --dir-cache-time 4h --cache-dir=/cache --header "Referer:" --vfs-cache-mode full --buffer-size 512M --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 1G --vfs-cache-max-size 10G --exclude "#recycle/**" --exclude "@eaDir/**" --exclude "@eaDir/" --exclude ".DS_Store"