Folder in NAS as docker volume : Security aspect

Hi All,

Just wondering if anyone has actually deployed and using dockerized version of bitbucket.

We are planning to do the same and has an issue with Bitbucket_home directory. We are creating Bitbucket_Home directory on a NAS drive and then linking to container as a volume.

But the issue is any other container running on the host can actually use that volume.A security risk.

Please pour in your ideas.

Thanks,

Vishnu