GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Mount of volume-subpath which is available in Docker version 26.0.0, build 2ae903e using Python SDK for docker · Issue #3243 · docker/docker-py

Mount of volume-subpath which is available in Docker version 26.0.0, build 2ae903e using Python SDK for docker #3243

New issue
Copy link
New issue
Copy link
Closed
#3270
Closed
Mount of volume-subpath which is available in Docker version 26.0.0, build 2ae903e using Python SDK for docker#3243
#3270
Copy link
Labels
kind/feature-request

Description

@AbijithVS
AbijithVS
opened on Apr 4, 2024
Issue body actions

Hi ,

I found a docker volume option “volume-subpath” in the Docker version 26.0.0. This could be used to mount a sub-directory or a sub-path inside a host docker volume to a container without mounting the entire host volume.

But while using Python SDK for docker, I am not able to use this volume option. Only source and target options were seen for docker volume configuartion using Python.

Is there any way to tackle this issue? I need this feature as part of a project developement. Please provide me some solution to implement this concept using Python.

We are developing in Linux 6.2.0-39-generic Ubuntu 22.04.1 with Python 3.10.12

Thanks in advance,
Abijith V S
Product Developer

Activity

  1. milas
    added
    kind/feature-request
    on Apr 9, 2024
  2. Khushiyant commented on Jun 10, 2024

    @Khushiyant
    Khushiyant
    on Jun 10, 2024
    Contributor
    More actions

    @milas I'll try to work on it, and I'll open a Draft PR for you to see.

    Docker engine PR (moby#45687) that added support for volume subpath

  3. mwiebusch78 commented on Dec 25, 2024

    @mwiebusch78
    mwiebusch78
    on Dec 25, 2024
    More actions

    +1 for adding this feature. Mounting subpaths of volumes is very useful in "docker outside docker" setups where sibling containers need to share data. Work on the PR seems to have stalled since September.

  4. vvoland
    added a commit that references this issue on Jun 11, 2025

    Merge pull request #3270 from Khushiyant/volume-subpath

    6e6a273
  5. vvoland
    closed this as completedin #3270on Jun 11, 2025
  6. acme-im-bot commented on Jun 12, 2025

    @acme-im-bot
    acme-im-bot
    on Jun 12, 2025
    More actions

    Thanks for merging this! When is this expected to be released as part of a python package publicly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/feature-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.