Skip to content

Running soci create on an image and pushing doesn't always generate a new image index #1290

Answered by Kern--
vinfang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, yes, this is expected and you shouldn't see new image indexes going forward because ECR added support for the OCI Image Distirbution Spec 1.1: https://aws.amazon.com/about-aws/whats-new/2024/06/amazon-ecr-oci-image-distribution-version-1-1/

SOCI indexes point one-directionally towards the image that they were made for. When pulling an image with SOCI, we need the reverse mapping from image to SOCI index. In OCI 1.0, that "backreference" is done by the image index tagged with the image digest. In OCI 1.1, that's handled by an API in ECR itself so the image index is no longer needed.

Replies: 1 comment

Comment options

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