Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AbijithVS opened this issue Apr 4, 2024 · 0 comments

Comments

@AbijithVS
Copy link

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

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

No branches or pull requests

2 participants