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

Multi-platform images do not show #200

Open
mattsimonsen opened this issue Sep 17, 2019 · 1 comment
Open

Multi-platform images do not show #200

mattsimonsen opened this issue Sep 17, 2019 · 1 comment
Assignees
Milestone

Comments

@mattsimonsen
Copy link

mattsimonsen commented Sep 17, 2019

Hello,

I noticed an error with multi-platform images (at least in my configuration w/ Ubuntu 18.04 out of the box install).

When mirroring https://quay.io/repository/prometheus/alertmanager the images sync perfectly, until image v0.17.0, where the images seem to download. But upon re-run, the images never get to "PRESENT" but remain in "CHANGED" state each run.

To reproduce:

lstags -v quay.io/prometheus/alertmanager:v0.18.0

CHANGED sha256:3c0f0ea52a662342282fc7236ce058ab4 ce3c87f17369 2019-07-08T08:07:19-07:00 quay.io/prometheus/alertmanager:v0.18.0

This above command never succeeds in updating v0.18.0, despite docker being tasked with a new download.

docker images --digests | grep v0.18.0

quay.io/prometheus/alertmanager v0.18.0 sha256:3d52ab7ef3a2e23e26a73cfd0ce13189e3796fb276b9af3e79664e4f743d8a1d ce3c87f17369 2 months ago 51.9MB

I believe this issue is due to Docker using the top level checksum, while lstags uses the container specific sha256. Looking at https://quay.io/repository/prometheus/alertmanager?tag=latest&tab=tags I noticed the lstags checksum matches the child manifest checksum.

Furthermore, this behavior for prometheus/alertmanager started with v0.17.0, the same time that alertmanager shows multi-platform containers added.

Thank you for any suggestions, or if I can provide more info or test, I would be happy to.

Matt

@ivanilves ivanilves self-assigned this Sep 23, 2019
@ivanilves
Copy link
Owner

Thanks for sharing this issue.

I believe this issue is due to Docker using the top level checksum, while lstags uses the container specific sha256.

Looks like this makes a lot of sense. 👌

I will look into this ASAP.

@ivanilves ivanilves added the bug label Sep 23, 2019
@ivanilves ivanilves added this to the v1.3 milestone Mar 22, 2020
@ivanilves ivanilves assigned vonrabbe and unassigned vonrabbe and ivanilves Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants