Semver Sorting in Docker Hub
Add in new SemVer sort option for Docker images in a repository.
Which service(s) is this request for? Docker Hub Search
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently when looking at images in a docker hub repository we have 4 options for sorting the images:
- Chronologically Ascending
- Chronologically Descending
- A-Z
- Z-A
These are a good start but a lot of repositories use SEMVER versioning of their released / supported images, while SHA sums are used for RC and development images.
Now if this is a busy repo with a lot of images uploaded on a regular basis and I want to see the latest supported version none of the existing sorting options will do the job as there may be dozens of RC / Dev images, meaning chronological sorting would leave the latest release several pages back. Lexographical sorting doesn't understand SemVer, so v0.8.9 would be top of the pile while v0.8.10 would be much further down the list, even though in semver it it should be considered more recent.