将Google Cloud Filestore安装在带有Debian的Docker容器中



我想将云文件安装在debian的码头容器中。

当我尝试安装它时,我会得到:

mount.nfs: timeout set for Wed Feb 27 12:35:07 2019
mount.nfs: trying text-based options 'vers=4.2,addr=10.32.222.111,clientaddr=172.17.0.2'
mount.nfs: mount(2): Operation not permitted
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.

它在Google Cloud中的Debian VM中运行。

我需要打开或防火墙以禁用吗?

为了使坐骑成功我该怎么办?

云文件是在Google Cloud Compute Engine Instances或Kubernetes中使用的NFS。它适用于同一VPC中的任何实例。如果您想在本地计算机中使用它,则需要连接到此VPC槽VPN。您可以使用云VPN实现此目标。