nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

creating a volume of nfs type

Open tapakund opened this issue 3 years ago • 0 comments

Hi,

I am trying to mount a nfs share to a container using nerdctl. I am able to do that within a container using mount command, but creating a volume of type nfs seems not yet supported with nerdctl.

I am able to create nfs type volume using docker with below command: docker volume create --driver local --opt type=nfs --opt o=addr=<nfs-ip>,ro --opt device=:<nfs-path> foo

In nerdctl docs, it says --driver and --opt are not supported yet

Unimplemented docker volume create flags: --driver, --opt

If someone can share if there is another way to achieve this, or any information when this options would be supported will be really helpful.

Thanks!

tapakund avatar Jan 12 '22 14:01 tapakund