BradleyA / Search-docker-registry-v2-script.1.0

view-private-registry is a simple bash script for listing images in a private registry v2, docker search registry-v2
MIT License
50 stars 16 forks source link

Feature Request --> view-private-registry - change output order to latest version first #15

Closed BradleyA closed 3 years ago

BradleyA commented 3 years ago

Tell us about your feature request: A clear and concise description of what you want to happen or the change you would like to see. Use a use case to describe how a person would actually use your request to accomplish a goal. Thank you.

-> after adding pull request: Sort image tags by version instead of purely alphabetically #14
-> reversing the order by including -r so the latest version would be first, -Vr

Before pull request #14 $ ls -1 | sort foo-1 foo-11 foo-111 foo-5 registry:2lv2019-04-07T15.56.40_CDT registry:2lv2019-04-07T18.37.19_CDT registry:2lv2019-04-07T18.41.25_CDT

After pull request #14 $ ls -1 | sort -V foo-1 foo-5 foo-11 foo-111 registry:2lv2019-04-07T15.56.40_CDT registry:2lv2019-04-07T18.37.19_CDT registry:2lv2019-04-07T18.41.25_CDT

test feature request $ ls -1 | sort -Vr registry:2lv2019-04-07T18.41.25_CDT registry:2lv2019-04-07T18.37.19_CDT registry:2lv2019-04-07T15.56.40_CDT foo-111 foo-11 foo-5 foo-1

Describe how your feature request could work: Steps to demonstrate your feature request.

  1. Enter/Click on -> view-private-registry 17315

How are you currently working without your feature request? A description of any alternative solutions or features you've considered or are using today.

-> N/A

Version: