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

Docker references with both a tag and digest are currently not supported #2367

Closed
sbp-bvanb opened this issue Jun 26, 2024 · 1 comment
Closed

Comments

@sbp-bvanb
Copy link

sbp-bvanb commented Jun 26, 2024

skopeo copy docker://alpine:3.12.1@sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 dir:/tmp/helloworld
FATA[0000] Invalid source name docker://alpine:3.12.1@sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321: Docker references with both a tag and digest are currently not supported

Could this, i.e. pull of image with tag in conjunction with digest, e.g. docker://alpine:3.12.1@sha256:185518070891758909c9f839cf4ca393ee977ac378609f700f60a771a2dfe321 be implemented?

@mtrmac
Copy link
Contributor

mtrmac commented Jun 26, 2024

Thanks for reaching out.

This is, for the most part, intentional: see containers/image#1736 .

Either way, Skopeo is a thin wrapper over the c/image library, so if this would be changed, it would happen in the linked repository and issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants