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

Support to rm image indexes and soci indexes. #16

Closed
fujiwara opened this issue Aug 4, 2023 · 1 comment
Closed

Support to rm image indexes and soci indexes. #16

fujiwara opened this issue Aug 4, 2023 · 1 comment

Comments

@fujiwara
Copy link
Owner

fujiwara commented Aug 4, 2023

https://aws.amazon.com/jp/blogs/news/aws-fargate-enables-faster-container-startup-using-seekable-oci/

Now, ECR supports image index and soci index.
But ecrm can not detect these index, so ecrm deletes these index images possibility.

  1. List up images(not index) that candidate for deletion.
  2. Find image index has tag sha256-{sha256 of image}.
  3. Get a manifest of image index by ECR BatchGetImage API.
  4. Find sha256 of soci index in the manifest.
@fujiwara
Copy link
Owner Author

fujiwara commented Sep 6, 2024

v0.4.0 supports this.

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

No branches or pull requests

1 participant