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

Registry GC delete multiarch image manifest #2032

Open
Huimintai opened this issue Jul 25, 2022 · 1 comment
Open

Registry GC delete multiarch image manifest #2032

Huimintai opened this issue Jul 25, 2022 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Huimintai
Copy link
Contributor

When I use registry GC for our local image repository.For our registry,we make all the images for multiarch images like this:

/app # ls /storage/docker/registry/v2/repositories/library/ | grep business
tke-business-api
tke-business-api-amd64
tke-business-api-arm64
tke-business-api-arm64-unknown
tke-business-api-arm64-v8

After I use registry GC,it delete the manifest for imagetke-business-controller,however this image manifest shouldn't be deleted because this image is used in our environment.
image

Registry version:

./registry -v
./registry github.com/docker/distribution v2.8.1+unknown
@Huimintai
Copy link
Contributor Author

This is a bug for registry and found the same issue form gihub:distribution/distribution#3178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant