Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make mount point #2

Open
mobilelifeful opened this issue Mar 7, 2022 · 2 comments
Open

Can't make mount point #2

mobilelifeful opened this issue Mar 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mobilelifeful
Copy link

Thank you for sharing this,
but it seems like can't make mount point at this time. (Can you please confirm if true).

@sentinm
Copy link
Owner

sentinm commented Oct 12, 2022

Can you send a screenshot of the logs mentioning the error

sorry for the late reply xd

@sentinm sentinm added the bug Something isn't working label Oct 16, 2022
@bolavefasfas
Copy link
Contributor

bolavefasfas commented Oct 20, 2022

I guess you need to give permission for fuse mount to docker container to be able to do that

version: "3.7"
services:
  rclone:
    image: rclone/rclone
    container_name: rclone
    restart: unless-stopped
    volumes:
      - /mount/dir:/mount/dir
      - /etc/fuse.conf:/etc/fuse.conf
      - /root/config:/config/rclone
      - /root/rclone/log:/log
      - /root/rclone/cache:/cache
    privileged: true
    cap_add:
      - SYS_ADMIN
    devices:
      - /dev/fuse
    security_opt:
      - apparmor:unconfined
    command: 'rcd --rc-web-gui --rc-web-gui-no-open-browser --rc-addr 0.0.0.0:$PORT --rc-user $USERNAME --rc-pass $PASSWORD '   

add this is your compose file to be able to mount it not tested just speculating
and you cant mount on heroku or other free services to be able to do that you need own server or vps where you have sudo access

Let me know if this works

References
1.https://forum.rclone.org/t/docker-compose-rclone-data-mount-not-accessible-on-host/29419/6
2.https://forum.rclone.org/t/it-is-possible-to-run-rclone-inside-the-docker-container-and-mount-the-folder-to-host/31268/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants