-
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
cp support #613
Comments
I can see making a |
If you were thinking of a more Docker-style copy via stdin, I'm not specifically opposed to that, but the simpler approach would be to reuse the existing mount-based code. |
@ibuildthecloud so you want podman cp to work. |
@ibuildthecloud Any comment on our suggestions? Or should I close this? |
@rhatdan I think this is still a good enhancement, we should leave it open |
I can pick that up if you want to, and would follow @mheon's inital proposal to map cp to mount, cp, unmount. Are you okay with that? |
Im fine with it. My only concern is handling multiple mounts/unmounts and making sure we handle this correctly. |
I think mount/unmount session-based concurrency would need to happen first |
@mheon, @rhatdan, I think we handle this now correctly, do we? I think the internal counter solves most of it. But I am not sure if multiple |
I think the internal counter does solve this, as long as each mount only
unmounts once.
…On Mon, Nov 19, 2018, 06:55 Valentin Rothberg ***@***.*** wrote:
My only concern is handling multiple mounts/unmounts and making sure we
handle this correctly.
[...]
I think mount/unmount session-based concurrency would need to happen first
@mheon <https://github.com/mheon>, @rhatdan <https://github.com/rhatdan>,
I think we handle this now correctly, do we? I think the internal counter
solves most of it. But I am not sure if multiple unmounts should break
the cp or not?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#613 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHYHCF7rNj-WceIZWwOE7wTznOVke21Yks5uwpwygaJpZM4TSnED>
.
|
I agree. |
Great, this seems ready to be implemented 👍 |
I was using podman today, and I was sad about the lack of "cp" parity with |
Would be a simple bash script to generate the equivalent. (I am not a big fan of docker cp). But I guess we will have to implement it.
|
@QiWang19 Could you look into adding this command. |
I think this is definitely more urgent now that |
FEATURE REQUEST
mount/umount is more powerful than cp, but just as buildah is more powerful than a Dockerfile, you still support a Dockerfile. cp is such a common task it would be nice if it was supported.
The text was updated successfully, but these errors were encountered: