Mount rclone fs to docker windows

What is the problem you are having with rclone?

I have created a S3 mount via rclone on my Windows EC2 instance. The problem is that I am unable to mount the rclone-FUSE filse system to docker. Please someone help me with this.

What is your rclone version (output from rclone version)

v1.53.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows

Which cloud storage system are you using? (eg Google Drive)

AWS S3

The command you were trying to run (eg rclone copy /tmp remote:tmp)

C:\rclone\rclone.exe mount remote:<S3-bucket-name>/ S: --vfs-cache-mode full
docker run -v S:\:C:\tmp hello-world

A log from the command

docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: S:/.

hello and welcome to the forum,

what username does rclone run as?
what username does docker run as, most likely it runs as a service?

you can try to

  • run rclone mount as system user, then all processes will see the it.
    or
  • run rclone mount as same user as before, but mount to a folder, not a drive
    rclone.exe mount gdrive-a1b2: b:\mount\rclone\gdrive-a1b2

Tried both. It does not work.

how to do know that rclone ran as system user?