Shell: Get current version number of latest docker library image

Published: 5/10/2017
Shell: Get current version number of latest docker library image
Source: UNIX.STACKEXCHANGE.COM

I would like to get the current version number of latest version of some docker library images. Examples: 'docker' should give me: 17.09.0-ce , 17.09.0 , 17.09 , 17 , stable , test , edge ( https://hub.docker.com/_/docker/ ) 'mongo' should give me: 3.4.9 , 3.4 , 3 ( https://hub.docker.com/_/mongo/ ) I tried to do it this way: curl -s 'https://registry.hub.docker.com/v2/repositories/library/mo

Read more
Related news
Comment