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

Fix docker cp error per BZ1723491 #347

Merged

Conversation

TomSweeneyRedHat
Copy link
Member

Signed-off-by: TomSweeneyRedHat tsweeney@redhat.com

- What I did
In the containerArchivePath, change the call at line 155
from filepath.Base(absPath) which if our target was /a returned
only 'a', to filepath.Dir(absPath) which instead returns '/'. The
name of the file is added during the copy operation.

Many thanks to @nalind for the investigative lead.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1723491

- How I did it
vi is my friend.

- How to verify it
Did a number 'docker cp' commands to verify happiness.

- Description for the changelog
Fixes docker cp failure

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Jun 27, 2019

LGTM

@rhatdan rhatdan merged commit 61c8524 into projectatomic:docker-1.13.1-rhel Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants