Skip to content

[feature] Allow mounting sub-directories of named volumes #32582

@zacharysells

Description

@zacharysells

Similar to how bind mounts let you mount subfolders i.e -v /host/path:/container/path, is it possible for the same functionality to be available for named volumes? i.e -v namedvolume/path:/container/path. Right now in order to mount a named volume, you must mount the entire volume.

I apologize in advance if this has been discussed somewhere already, but I couldn't find anything saying this isn't doable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/volumesVolumeskind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions