添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
What is the problem you are having with rclone?

Using rclone inside docker so I don't have to deal with systemd and it is easier to migrate. With the config properly set up, I want to mount the remotes and access them in the host machine.

Run the command 'rclone version' and share the full output of the command. Pulling via docker hub Which cloud storage system are you using? (eg Google Drive)

Backblaze B2

The command you were trying to run (eg rclone copy /tmp remote:tmp )
Not specifically a command.
The rclone config contents with secrets removed.
type = b2
account = xxx
key = xxx
hard_delete = true
type = b2
account = xxx
key = xxx
hard_delete = true
[1-encrypted]
type = crypt
remote = 1:encrypted
password = xxx
password2 = xxx
A log from the command with the -vv flag
No log
Compose file
version: "3.4"
services:
    rclone_backup:
        image: rclone/rclone:latest
        container_name: rclone
        restart: unless-stopped
        volumes:
            - ./config:/config/rclone
        user: "1000:1000"
        #command: some type of mount command?
        network_mode: npm_default
        container_name: rclone0
        command: 'serve webdav xxx: --addr :8080 --user xxx --pass xxx --vfs-cache-mode full --cache-dir=/data/cache/0'
    rclone1:
        image: rclone/rclone:latest
        volumes:
            - ./config:/config/rclone
            - ./data:/data:shared
            - /etc/passwd:/etc/passwd:ro
            - /etc/group:/etc/group:ro
            - /etc/fuse.conf:/etc/fuse.conf:ro
        devices:
            - /dev/fuse:/dev/fuse:rwm
        cap_add:
            - SYS_ADMIN
        security_opt:
            - apparmor:unconfined
        user: 1000:1000
        container_name: rclone1
        command: 'mount xxx: xxx --allow-other --vfs-cache-mode full --cache-dir=/data/cache1'

Now I want to know, is there a way to avoid the transport endpoint not connected problem?

not an expert at docker but if you want the host to see port 8080, don't you need to something like this

ports:
  - 8080:8080