Skip to content

[Request]: Add drivers to container volume for network NFS or SMB shares #1413

Description

@tonycoco

Feature or enhancement request details

For example:

  • container volume create --driver smb ...
  • container volume create --driver nfs ...

Create the SMB volume once:

  container volume create --driver smb \
    --opt share=//server/share \
    --opt username=user \
    --opt password=secret \
    myshare

Use it exactly like any other named volume:

  container run -v myshare:/data alpine ls /data

or with container create:

container create -v myshare:/data --name mycontainer alpine

This would make mounts not hop in the virtiofs.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextMust-have items for current and next milestonestorageissues and features associated with storage.

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions