Mountpoint disappears after reboot

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

On docker I have install rclone using this command:

docker pull rclone/rclone:latest
docker run -d \
  --restart=always \
  --name rclone \
  -h rclone \
  -e PUID=1001 \
  -e PGID=1001 \
  --net=network \
  -p 5572:5572 \
  --device /dev/fuse \
  --cap-add SYS_ADMIN \
  --security-opt apparmor:unconfined \
  -v rclone:/config/rclone \
  -v /mnt/rclone:/rclone:shared \
  -v /mnt/downloads:/data:shared \
  rclone/rclone:latest \
  rcd --rc-web-gui --rc-addr :5572 --rc-web-gui-no-open-browser --rc-user rclone --rc-pass rclone

I then visited the webui and configured my webdav URL and a mount. Everything is working as expected. I can browse the webdav on the webui and I also see the webdav contents on the mount inside the container.

The problem is that when I restart the docker server, the mountpoint disappears and I have to recreate it. The configuration is still there, and I can browse the webdav on the webui without any issues.

Only the mountpoint dissapears and I have to re-create it, and then all is good again.

I'm I doing something wrong? How can I get the mountpoint to persist after a reboot?

'rclone version'

rclone v1.68.1

  • os/version: alpine 3.20.3 (64 bit)
  • os/kernel: 6.1.0-26-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.23.1
  • go/linking: static
  • go/tags: none

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

webdav

those changes are not persistent.

follow the example in the rclone doc; run rclone mount using docker run