Docker image (or command, your choice) to query Docker Hub/Registry for information that should really be provided via the Docker CLI :(
Example:
$ my-machine:tag-list michael$ tag-list parity/parity
TAG ARCHITECTURE OS
nightly amd64 linux
stable-release amd64 linux
stable amd64 linux
beta-release amd64 linux
beta amd64 linux
v1.9.4 amd64 linux
v1.8.11 amd64 linux
v1.9.3 amd64 linux
v1.8.10 amd64 linux
v1.8.9 amd64 linux
Ideally there would be the option of filtering and of displaying more columns, but I wrote this to be a quick reference when setting up projects with dockerprep
- Copy
project.cfg.template
toproject.cfg
(don't worry, it's in your.gitignore
)
If you'd like to push to your own Docker Hub Repo:
- Edit
project.cfg
to include your dockerhub ID/namespace
./build.sh
to build the image./debug.sh
to drop into a shell in a running instance of the container./run.sh REPO_NAME
to run the tool from your local build
Sometimes output looks like this:
TAG ARCHITECTURE OS
latest amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
3 amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
3.6 amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
3.6.4 amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
rc amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
3.7-rc amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
3.7.0b2 amd64 amd64 s390x ppc64le 386 arm64 arm arm amd64 windows windows linux linux linux linux linux linux linux
onbuild s390x ppc64le 386 arm64 arm arm amd64 linux linux linux linux linux linux linux
3-onbuild s390x ppc64le 386 arm64 arm arm amd64 linux linux linux linux linux linux linux
3.6-onbuild s390x ppc64le 386 arm64 arm arm amd64 linux linux linux linux linux linux linux
No idea why!
Which tag matches latest
? (Which tags are the same?)
Requires:
- Getting and comparing manifest data from dockerhub
What is the base image of each tag?
Requirements:
- No idea