gcsfuse --implicit-dirs [bucket] [mount-point]
因此,我使用该命令在我的 VM 上安装了一个 GCS Bucket 。
我正在使用[mount-point]
与 docker 相同的方法来保存我的数据。但是,当我启动我的容器时,docker-compose up
我收到一条错误消息mkdir file exists
在卸下铲斗并再次使用gcsfuse --implicit-dirs -o allow_others [bucket] [mount-point]
. 但是,我读到使用该-o allow_others
标志是不安全的。
如果不使用此标志,我应该如何使其工作?