πŸ§ͺ Docker Hub experimental CLI tool
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Silvin Lubecki 6de02e4ce2 Improve tag inspect command:
- now for a manifest it fetches the config object too, to print more informations (command, entrypoint, command history on each layers, exposed ports, volumes...)
- refactored the whole command
- added a new format "raw" which prints exactly what was returned by the registry, "json" format is a combination of the descriptor, the config object and the manifest
- added color

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2020-10-13 16:20:25 +02:00
.github Fix workflow typo 2020-10-12 09:53:09 +02:00
cmd/hub-tool Enforce user hub loggin uppon hub-tool use 2020-10-12 09:53:09 +02:00
e2e Enforce user hub loggin uppon hub-tool use 2020-10-12 09:53:09 +02:00
internal Improve tag inspect command: 2020-10-13 16:20:25 +02:00
scripts/validate Change copyright headers to better fit with the Contributor License Agreement 2020-10-09 10:16:15 +02:00
.dockerignore initialize CI, linters, Makefiles and Dockerfile 2020-09-17 15:35:31 +02:00
.gitattributes Fix windows tests, forcing lf instead of crlf on windows 2020-10-12 09:34:42 +02:00
.gitignore initialize CI, linters, Makefiles and Dockerfile 2020-09-17 15:35:31 +02:00
.golangci.yml initialize CI, linters, Makefiles and Dockerfile 2020-09-17 15:35:31 +02:00
Dockerfile Change copyright headers to better fit with the Contributor License Agreement 2020-10-09 10:16:15 +02:00
LICENSE Initial commit 2020-09-17 10:56:41 +02:00
Makefile Show docker command for debug purpose 2020-10-12 09:53:09 +02:00
README.md Remove the plugin part and transform it to a standalone binary 2020-10-02 19:06:27 +02:00
builder.Makefile Remove the plugin part and transform it to a standalone binary 2020-10-02 19:06:27 +02:00
go.mod Add color to the CallToAction 2020-10-08 16:26:14 +02:00
go.sum Add color to the CallToAction 2020-10-08 16:26:14 +02:00
vars.mk Remove the plugin part and transform it to a standalone binary 2020-10-02 19:06:27 +02:00

README.md

Hub tool

Docker cli tool to play with Docker Hub.

Install

Just run make install, all the build is containerized. It will copy the hub tool binary to your /usr/local/bin directory.

$ make install

Use it

$ hub-tool ls nginx
TAG                    DIGEST                                                                    LAST UPDATE         SIZE
latest                 sha256:aff269ec296daeab62055236b6815322d6ae0752f6877e18b39261903463e0fc   3 days ago          58.95MB
stable-perl            sha256:8af9938e3a7afbabb6845864f305b84cdabd0f55c71ab6664d2b5385d77cb0fd   3 days ago          61.9MB
stable                 sha256:3f83cb7f711e08caed94b84edce5e4349b15e41158f027c37f547d03bb1f5dd2   3 days ago          50.13MB
perl                   sha256:fdea5e5cd991bf924cda48691cf693b646ce74b249d08c69e31054c224ffe422   3 days ago          60.41MB
mainline-perl          sha256:e89f3e62fc049f14beb5ea47897735ee426c0d85510d60e74446e866ec469386   3 days ago          70.12MB
mainline               sha256:794275d96b4ab96eeb954728a7bf11156570e8372ecd5ed0cbc7280313a27d19   3 days ago          53.5MB
1.19.2-perl            sha256:e89f3e62fc049f14beb5ea47897735ee426c0d85510d60e74446e866ec469386   3 days ago          70.12MB
1.19.2                 sha256:aff269ec296daeab62055236b6815322d6ae0752f6877e18b39261903463e0fc   3 days ago          58.95MB
1.19-perl              sha256:fdea5e5cd991bf924cda48691cf693b646ce74b249d08c69e31054c224ffe422   3 days ago          60.41MB
1.19                   sha256:aff269ec296daeab62055236b6815322d6ae0752f6877e18b39261903463e0fc   3 days ago          58.95MB
1.18.0-perl            sha256:59bdcdca6a76d3d295340f6189d65438cf5bdf767b893d1dba2fe76d0684e8b1   3 days ago          57.11MB
1.18.0                 sha256:48d22c8ecc16fa5da62dfb8de2d7c3f8ce9765df0678a4bc37556bac78a58ed0   3 days ago          53.42MB
1.18-perl              sha256:c6e5420e8a9ad4af82a2768f1cd8f7fd85da306eb92db24e9299207550a891d6   3 days ago          63.03MB
1.18                   sha256:91b74b601750353da4d76d059f21c0266799b28a6a3109b0d22c8fdbebc11c51   3 days ago          51.67MB
1-perl                 sha256:22fd43073a743547d21f3b845bdd55207425357dfb6b5ec6b33723cfcd8c7135   3 days ago          57.19MB
1                      sha256:c1d96b60af9efaf36f057e92c627fc721c9bd466a0ee19d3ff35c031c33bd0b7   3 days ago          51.72MB
mainline-alpine-perl   sha256:506fbc2cf89e768715c8f805dae8a71564a8045b01ba6d3b57fdbc53e357d037   5 weeks ago         16.62MB
mainline-alpine        sha256:3d4c3485cf8af9c0e38718409918ed6255caa32d6867cf667a7339b0c5a5641e   5 weeks ago         10.43MB
alpine-perl            sha256:b69f59203a518f1a1759ba8cc134fc144ebe87a834ee23da034790b793f7139b   5 weeks ago         18.65MB
alpine                 sha256:3d4c3485cf8af9c0e38718409918ed6255caa32d6867cf667a7339b0c5a5641e   5 weeks ago         10.43MB
1.19.2-alpine-perl     sha256:39c2f1440373d646484f34971c7ffe69744d4b4bc921e2f4d7b19cb0ffe71406   5 weeks ago         18.92MB
1.19.2-alpine          sha256:10bdb5cdba74478710feeb55a38b74fd57b5ea3f69072e1f8250af6c40b0fcb8   5 weeks ago         10.23MB
1.19-alpine-perl       sha256:4419334d3098762f669318b1a72271df9a6d7f34eec0fd08d0ca220d9b2ea88b   5 weeks ago         18.4MB
1.19-alpine            sha256:4635b632d2aaf8c37c8a1cf76a1f96d11b899f74caa2c6946ea56d0a5af02c0c   5 weeks ago         9.61MB
1-alpine-perl          sha256:9dcd7cd6567cd203afdd791ce770f5305b87b1ab588799ca9fbabce2c6cc44d3   5 weeks ago         19.13MB