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

Document cases when skopeo is "digest stable" #1102

Closed
Jamstah opened this issue Nov 11, 2020 · 3 comments
Closed

Document cases when skopeo is "digest stable" #1102

Jamstah opened this issue Nov 11, 2020 · 3 comments

Comments

@Jamstah
Copy link
Contributor

Jamstah commented Nov 11, 2020

Many users have turned to skopeo as a mechanism to copy images between registries. These users often believe that while docker pull and push can result in a different image digest at the other end, skopeo will keep the digests.

However, the situation is more nuanced, and skopeo can copy to and from many transports.

It would be good if the documentation explicitly said which options were "digest stable", ie, will always maintain the same image digest.

This would be good for both the copy and sync commands.

@mtrmac
Copy link
Contributor

mtrmac commented Nov 11, 2020

Thanks; or maybe change that, per #1097 .

@github-actions
Copy link

github-actions bot commented Jun 4, 2021

A friendly reminder that this issue had no activity for 30 days.

Jamstah added a commit to Jamstah/image that referenced this issue Nov 21, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 21, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 21, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 22, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 22, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 22, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 22, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 26, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
Jamstah added a commit to Jamstah/image that referenced this issue Nov 26, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
@Jamstah
Copy link
Contributor Author

Jamstah commented Dec 3, 2021

Closing in deference of #1378

@Jamstah Jamstah closed this as completed Dec 3, 2021
nlewo pushed a commit to nlewo/image that referenced this issue Dec 26, 2021
A digest-stable copy seems popular, even when not copying signed images.
Using --all can still change digests. Adding an option to ensure digests
are preserved.

Also adding a missing check to enable digest preservation for manifest
lists where the destination is digested.

See:
containers/skopeo#1440
containers/skopeo#1378
containers/skopeo#1102
containers/skopeo#1451

Signed-off-by: James Hewitt <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
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

3 participants