Update README.md how to query latest tags
authorvarac <varacanero@zeromail.org>
Wed, 1 Feb 2017 09:04:46 +0000 (10:04 +0100)
committervarac <varacanero@zeromail.org>
Wed, 1 Feb 2017 09:04:46 +0000 (10:04 +0100)
docker/README.md

index 74130d5..2267597 100644 (file)
@@ -4,7 +4,11 @@ As an example we build a new version (2.2.0) of the leapcode/ruby image:
 
 ## Find latest version
 
-I.e. look at the tags at https://hub.docker.com/r/leapcode/ruby/tags/
+I.e. look at the tags at https://hub.docker.com/r/leapcode/ruby/tags/ or query tags with:
+    curl -s https://registry.hub.docker.com/v2/repositories/leapcode/jessie/tags/ |jq '."results"[]["name"]'
+
+## Build new version
 
     VERSION='2.2.0'
     IMAGE='ruby'