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

Error when copying content from local image #43

Closed
exdx opened this issue Aug 15, 2022 · 1 comment · Fixed by #45
Closed

Error when copying content from local image #43

exdx opened this issue Aug 15, 2022 · 1 comment · Fixed by #45
Assignees
Labels
bug Something isn't working

Comments

@exdx
Copy link
Owner

exdx commented Aug 15, 2022

$ dcp quay.io/operator-framework/rukpak:latest
 ERROR dcp > ❌ error 404 Not Found - manifest for quay.io/operator-framework/rukpak:latest not found: manifest unknown: manifest unknown
 DEBUG dcp > 📦 Created container with id: "b529d9210b1ec503ff8e90a0e8d83ef6cbc232161f0f59d68bceedebed919eb4"
 INFO  dcp > ✅ Copied content to . successfully
 DEBUG dcp > 📦 Cleaned up container "b529d9210b1ec503ff8e90a0e8d83ef6cbc232161f0f59d68bceedebed919eb4" successfully

dcp does successfully copy the container filesystem, but it gives a misleading error when presented with an image that is not on a remote registry (just one built locally). It should first check to see if the image is available locally before attempting to pull it.

@exdx exdx added the bug Something isn't working label Aug 15, 2022
@exdx
Copy link
Owner Author

exdx commented Aug 16, 2022

There should also be a --force flag that will cause dcp to pull the image from a remote, even if a local version of the image is present.

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