-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Proposal: Repository Image Search by {description, platform} #8256
Comments
There are few relevant tickets happening in distribution. The first is the new manifest proposal, which will support multi-architecture images: distribution/distribution#62. The other is the ongoing effort to define a scalable search API for the v2 registry system distribution/distribution#206. |
This feature request is still valid. The search API has not been updated and V2 updates remain in the design phase pending an owner to take it on. |
With prototype ports of Docker to aarch64, Power LE, and s390 it has become apparent that we need to search and pull images from a repository based (in part) on the architectural platform they are built for.
Today repository search accepts a string which is then used to search the description field for each image. The list of images that hit are returned in a dictionary {'name': name 'description':description}.
The description field can be augmented by a single tag; the custom is to use a tag to indicate a release or build, just as you would use a tag in a source code control system.
Adding an optional platform field to the search term would allow a more precise image search when the native platform is important. There would bee no need to overload the description or tag data for an image. There is no need to alter the return value of repository search.
The text was updated successfully, but these errors were encountered: