Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature Request: docker search --limit #23055

@HariSekhon

Description

@HariSekhon

Feature Request to add a --limit option to the docker search command to allow returning a configurable number of results.

Currently it caps at 25 and there is no way I can see of changing the number of returned results (eg. if I wanted to list all of my docker repos and I have more than 25 there is no way to see them all in the docker search command).

I've written a quick tool to be able to do this for now with output similar to the official docker search command - it's in my PyTools github repo:

dockerhub_search.py --limit 50 TERM
dockerhub_search.py --help
Hari Sekhon - https://github.com/harisekhon/pytools

dockerhub_search.py version 0.3

Tool to search DockerHub repos and return a configurable number of results

Usage: dockerhub_search.py [options] TERM

Options:
  -n NUM, --num=NUM, --limit=NUM
                        Number of results to return (default: 50)
  -t secs, --timeout=secs
                        Timeout in secs (default: 10)
  -v, --verbose         Verbose mode (-v, -vv, -vvv)
  -V, --version         Show version and exit
  -h, --help            Show full help and exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliClientkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions