So, I mounted a GCS Bucket on my VM using the gcsfuse --implicit-dirs [bucket] [mount-point]
command.
I'm using the same [mount-point]
with docker to persist my data. However, when I start my containers with docker-compose up
I'm getting an error saying mkdir file exists
I got it to work after unmounting the bucket and mounting it again with gcsfuse --implicit-dirs -o allow_others [bucket] [mount-point]
. However, I read that it is not safe to use the -o allow_others
flag.
How am I supposed to make it work without using this flag?