Skip to content
Discussion options

You must be logged in to vote

This is intentional: https://github.com/podman-container-tools/container-libs/blob/67ec80dfe59d7a714c919611ebf1992d4f795d90/image/copy/single.go#L176-L184

As the comment says, it may be too conservative, but it does mitigate some risks.

Exact copies (unlike a podman push which almost always tries to compress the image) should still be reusing layers.

So, if the two pushes are signing with the same key, podman push --sign-… $dest1; skopeo copy docker://$dest1 docker://$dest2 should reuse data as expected; if the two pushes use different signing keys, podman push $staging; for in in 1 2; do skopeo copy --sign=…${i} docker://$staging docker://$dest$i; done.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rlees85
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants