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

cp failure uses confusing error message #3197

Open
apostasie opened this issue Jul 6, 2024 · 0 comments · May be fixed by #3275 or #3323
Open

cp failure uses confusing error message #3197

apostasie opened this issue Jul 6, 2024 · 0 comments · May be fixed by #3275 or #3323
Labels
bug Something isn't working

Comments

@apostasie
Copy link
Contributor

Description

Destination of the copy being read-only:

nerdctl cp buildkitd:/usr/bin/buildctl .
/usr/bin/tar: buildctl: Cannot open: Read-only file system
/usr/bin/tar: Exiting with failure status due to previous errors
FATA[0000] could not find container: buildkitd, with error: failed to wait [/usr/bin/tar -x --no-same-owner -f -]: exit status 2

Of course the container buildkitd is here and fine.

We should clean-up this above and provide a helpful message to the user instead.

Good first issue.

Steps to reproduce the issue

na

Describe the results you received and expected

na

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Jul 6, 2024
@yankay yankay added bug Something isn't working and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Aug 6, 2024
@apostasie apostasie changed the title nerdctl cp failure uses confusing error message cp failure uses confusing error message Aug 17, 2024
@apostasie apostasie linked a pull request Aug 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants