<div dir="ltr">Dear Hongbin,<div><br></div><div>I am able to successfully do the following. It allows me to mount the NFS volume.</div><div>But there is no way to pass this information from an openstack client.</div><div>Is there any way to send this information from openstack client to docker?  <br></div><div>Is there any hook or plugin available which can be called before starting the container? I can exploit it until a permanent solution is available,</div><div><pre><code>export NFS_VOL_NAME=mynfs
export NFS_LOCAL_MNT=/mnt/mynfs
export NFS_SERVER=<a href="http://my.nfs.server.com">my.nfs.server.com</a>
export NFS_SHARE=/my/server/path
export NFS_OPTS=vers=4,soft

docker run --mount \
  "src=$NFS_VOL_NAME,dst=$NFS_LOCAL_MNT,volume-opt=device=:$NFS_SHARE,\"volume-opt=o=addr=$NFS_SERVER,$NFS_OPTS\",type=volume,volume-driver=local,volume-opt=type=nfs" \
  busybox ls $NFS_LOCAL_MNT
</code></pre>
<p>Alternatively, you can create the volume before the container:</p>
<pre><code>docker volume create \
  --driver local \
  --opt type=nfs \
  --opt o=addr=$NFS_SERVER,$NFS_OPTS \
  --opt device=:$NFS_SHARE \
  $NFS_VOL_NAME

docker run --rm -v $NFS_VOL_NAME:$NFS_LOCAL_MNT busybox ls $NFS_LOCAL_MNT
</code></pre><pre>. </pre><pre><br></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 21, 2022 at 10:37 PM Vaibhav <<a href="mailto:mmilan2006@gmail.com">mmilan2006@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Thank you for your response. <br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 21, 2022 at 1:25 AM Carlos Silva <<a href="mailto:ces.eduardo98@gmail.com" target="_blank">ces.eduardo98@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello, sorry for the late reply</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 16 de jul. de 2022 às 13:28, Vaibhav <<a href="mailto:mmilan2006@gmail.com" target="_blank">mmilan2006@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I want to mount my Manila shares on containers managed by Zun.</div><div><br></div><div>I can see a Fuxi project and driver for this but it is discontinued now. </div><div><br></div><div>I want to have a shared file system to be mounted on multiple containers simultaneously, it is not possible with cinder. </div><div><br></div><div>Is there any alternative to Fuxi?</div></div></blockquote><div>I can't think of many by looking at the use case. Isn't there anything on Zun itself that allows the shares to be mounted directly in the containers?</div></div></div></blockquote><div>No, Zun gives only option of cinder volumes to be mounted. With cinder I am not able to have a shared file system among the containers, which I want to have. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Or can it work with yoga release ?</div><div><br></div></div></blockquote><div> I would not say so, as the project is no longer maintained and the latest commit is from 2017.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Please advise and give a suggestion.</div><div><br></div><div>Regards,</div><div>Vaibhav<div></div><div><br></div></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>