-
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
support container-to-container copy #7370
Comments
which version did you used to? or , did you tried with the latest version? |
Should be technically possible. I'll label this as a feature request. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg Is working on podman-remote cp now, so maybe he can look at this? |
Good timing. I am currently rewiring the entire copy code. I will keep this in mind so that we can easily add support for container-to-container copy. |
A friendly reminder that this issue had no activity for 30 days. |
@vrothberg Did you make this work? |
No. I focused on host/ctr copying only. The backend code, however, would allow that now, so that (nearly) all code changes would happen |
Since this is a feature, we can put it off for a while until we stabilize 3.0 |
A friendly reminder that this issue had no activity for 30 days. |
This would still be a good feature. I was recently asked about this in buildah copy as well, but in that case they wanted to copy from an image to a container. |
Agreed, it would be really nice to get this done. I have too many things on my plate at the moment but I'd be more than happy to help others get it done. A word of caution: I do not think it's a good first issue. It will require very extensive testing. |
A friendly reminder that this issue had no activity for 30 days. |
hey @vrothberg, are you working on this? If not then, can I try working on it |
Thanks, it's yours :) As mentioned above, this feature will need extensive testing in https://github.com/containers/podman/blob/master/test/system/065-cp.bats but we can assist. Code wise, the plumbing would happen |
I will try to work on it as soon as possible. I will ping you if I am stuck! Thank you |
A friendly reminder that this issue had no activity for 30 days. |
@infiniteregrets @vrothberg Did this ever move forward? |
@rhatdan I did move it forward, but I couldnt figure out how to rename a file which does not exist in the destination when copied, so @vrothberg will take over. sorry ): |
I plan to tackle it this week 👍 |
Implement container to container copy. Previously data could only be copied from/to the host. Fixes: containers#7370 Co-authored-by: Mehul Arora <[email protected]> Signed-off-by: Valentin Rothberg <[email protected]>
There seems to be no harm in implementing this function.
The text was updated successfully, but these errors were encountered: