I try to locate one specific tag for docker image, how can I do it in command line ? I try to avoid to download all and remove unneeded images.
In official Ubuntu release https://registry.hub.docker.com/_/ubuntu/ there are several tags (release for it), while when I search it in command line
user@ubuntu:~$ docker search ubuntu | grep ^ubuntu
ubuntu              Official Ubuntu base image                          354
ubuntu-upstart      Upstart is an event-based replacement for ...   7
ubuntufan/ping                                                0
ubuntu-debootstrap                                                   0
Also in the help of command line searchhttps://docs.docker.com/engine/reference/commandline/search/, no clue how it can work ?
Is it possible in docker search command ?
If I use raw command to search via docker registry API, then the information can be fetched
   $ curl https://registry.hub.docker.com//v1/repositories/ubuntu/tags | python -mjson.tool
   [
    {
        "layer": "ef83896b",
        "name": "latest"
    },
    .....
    {
        "layer": "463ff6be",
        "name": "raring"
    },
    {
        "layer": "195eb90b",
        "name": "saucy"
    },
    {
        "layer": "ef83896b",
        "name": "trusty"
    }
]