containerd / containerd/nerdctl

creating a volume of nfs type

Open
#694 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

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=,ro --opt device=: 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!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the nerdctl volume-create documentation and the documented unsupported --driver and --opt flags, then compare them with the provided Docker volume create command. Done means nerdctl can create and use an NFS volume with the requested driver, options, and device settings, with the documentation updated accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.