-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[RFE] podman volume mount|unmount
command
#12768
Comments
Do you want |
Or would Be enough? |
@rhatdan this can behave the same way as |
I am fine with adding it. Interested in opening a PR? |
@mskarbek @rhatdan So if you do If only $ podman volume inspect myvol | jq '.[0].Mountpoint' Again i might be interpreting the issue wrongly. But this is what I remember while discussing something with @mheon in past over an older PR. |
@flouthoc your logic is sound when it comes to the plain
This is a ZFS dataset with |
@mskarbek Ah fair got it. You want mounting experience to be more podman oriented. That's a fair request. |
@flouthoc Yes,certain non local file systems are mounted (tmpfs, bind, nfs, and fancy docker-volume-plugins) could be mounted. Currently when you run a container for the first time with a volume podman mounts the volume in container/storage then setup a bind mount into the container. @mskarbek is looking to only do step 1, where we do the mount. All of the code is there to do this, but someone needs to implement the CLI and then call into the functions to make it happen. CLI should only be local, not remote API. |
@rhatdan can I work on this? |
Yup |
A friendly reminder that this issue had no activity for 30 days. |
@boaz0 any progress? |
@rhatdan - sorry but I won't be able to work on it. Feel free to reassign this to someone else. |
Fixes: containers#12768 Signed-off-by: Daniel J Walsh <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
I would like to be able to mount a volume independently of the container.
Use case: creation of a volume that is then mounted and populated with autogenerated config files before it is attached to the newly created container.
Yes, I know that I can just create directory, put config files there and just use
-v
ortar
content of that directory andvolume import
it.The above is a convenience request that will simplify a little dealing with volumes (skipping
tar
steps) and allow keeping everything as a programmatically declared volume without tracking separately random directories populated outside thepodman volume
functionality.The text was updated successfully, but these errors were encountered: