-
Notifications
You must be signed in to change notification settings - Fork 67
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
Shared folder is not updated outside of container #51
Comments
Added these caps resolved the problem for me: |
Hi, I think the issue it's still there, I'm using docker compose with an encrypted rclone mount:
And in env file: NAME=mycustomname If i access the container i can see the files under /mnt/$NAME but when i go to the host mount point i see nothing. Looks like docker can't correctly mount the mnt directory.... Any help? |
I had the same problem and solve it by seting the propagation as shared. Try to do the following with the volumes declaration:
|
@fede8802 You're my savior! I can confirm that this is the correct configuration using docker-compose:
Now when using df i see the mount!
|
Here is an example rclone-mount/docker-compose.yml for ubuntu 18/20. Notice the version 2 of docker-compose! There are some MountCommands (https://rclone.org/commands/rclone_mount/) that manipulate the update interval e.g. |
I have been using the container perfectly (it works really well) but suddenly, I find that without having done anything, the content of the mounted unit is not updated (GDrive)
If I access the unit from other containers or from the system (Lubuntu 20.04) I don't see the new files added (by web browser).
But if I enter the rclone container and access the unit by console, if I see the new files.
I have looked to update the cache file in case it solved something, but I did not know how to do it
The text was updated successfully, but these errors were encountered: