Closed XVilka closed 4 years ago
@QiWang19 PTAL
@XVilka This error might be caused by incorrect argument length. Did you forget the space between the arguments? https://github.com/containers/libpod/blob/f57fdd038d431ebbd59e39b909cab7543b5d8f01/cmd/podman/cp.go#L63-L65
@XVilka Are you asking to copy files from an image, instead of a container? I don't believe that docker cp
presently provides that functionality (it's restricted to containers, as is our implementation)?
@mheon no, I try to copy from the running container, sorry if it wasn't clear.
A friendly reminder that this issue had no activity for 30 days.
@QiWang19 Any movement on this one?
I failed to replicate this issue.
I will have access to the machine with this issue only after Feb 24, sorry.
I cannot simulate in the latest master branch.
Seems to work in master. Closing.
/kind bug
Description
On par with docker podman should support copy in the format
Steps to reproduce the issue:
podman cp <image>:/home/user/path .
Get the error
Describe the results you received:
Describe the results you expected: Should copy the files
Additional information you deem important (e.g. issue happens only occasionally): Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):