{"id":13549085,"url":"https://github.com/docker/hub-tool","last_synced_at":"2025-05-15T14:07:45.446Z","repository":{"id":37677182,"uuid":"297905275","full_name":"docker/hub-tool","owner":"docker","description":"🧪 Docker Hub experimental CLI tool","archived":false,"fork":false,"pushed_at":"2025-04-14T17:59:39.000Z","size":543,"stargazers_count":351,"open_issues_count":63,"forks_count":73,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-05-12T23:32:26.565Z","etag":null,"topics":["cli","container","docker","hub","image","registry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-23T08:35:00.000Z","updated_at":"2025-04-29T21:21:31.000Z","dependencies_parsed_at":"2024-06-18T14:31:42.973Z","dependency_job_id":"8c98926f-5967-4638-898c-923c8a510ec4","html_url":"https://github.com/docker/hub-tool","commit_stats":{"total_commits":175,"total_committers":13,"mean_commits":"13.461538461538462","dds":0.5371428571428571,"last_synced_commit":"74bc560cdbc56bd232c49033c2f37194b7b40e62"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fhub-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fhub-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fhub-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docker%2Fhub-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docker","download_url":"https://codeload.github.com/docker/hub-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355335,"owners_count":22057354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","container","docker","hub","image","registry"],"created_at":"2024-08-01T12:01:18.075Z","updated_at":"2025-05-15T14:07:40.436Z","avatar_url":"https://github.com/docker.png","language":"Go","readme":"# 🧪 Docker Hub Tool\n\n\u003e :warning: This tool is a Docker experiment to build a Docker Hub CLI tool.\n\u003e The intention of this project is to get user feedback and then to add this\n\u003e functionality to the Docker CLI.\n\nThe Docker Hub Tool is a CLI tool for interacting with the\n[Docker Hub](https://hub.docker.com).\nIt makes it easy to get information about your images from the terminal and to\nperform Hub maintenance tasks.\n\n## Get started\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/products/docker-desktop) installed on your\n  system\n- [A Docker Hub account](https://hub.docker.com)\n\n### Install\n\n- Download the latest release for your platform from\n  [here](https://github.com/docker/hub-tool/releases)\n- Extract the package and place the `hub-tool` binary somewhere in your `PATH`\n\nOR\n\n- Install from sources: `GO111MODULE=on go get github.com/docker/hub-tool`\n\n### Login to Docker Hub\n\nLogin to the [Docker Hub](https://hub.docker.com) using your username and\npassword:\n\n```console\nhub-tool login yourusername\n```\n\n\u003e **Note:** When using a\n\u003e [personal access token (PAT)](https://docs.docker.com/docker-hub/access-tokens/),\n\u003e not all functionality will be available.\n\n### Listing tags\n\n```console\nTAG                                   DIGEST                                                                     STATUS    LAST UPDATE    LAST PUSHED    LAST PULLED    SIZE\ndocker:stable-dind-rootless           sha256:c96432c62569526fc710854c4d8441dae22907119c8987a5e82a2868bd509fd4    stale     3 days ago     3 days                        96.55MB\ndocker:stable-dind                    sha256:f998921d365053bf7e3f98794f6c23ca44e6809832d78105bc4d2da6bb8521ed    stale     3 days ago     3 days                        274.6MB\ndocker:rc-git                         sha256:2c4980f5700c775634dd997484834ba0c6f63c5e2384d22c23c067afec8f2596    stale     3 days ago     3 days                        302.6MB\ndocker:rc-dind-rootless               sha256:ed25cf41ad0d739e26e2416fb97858758f3cfd1c6345a11c2d386bff567e4060    stale     3 days ago     3 days                        103.5MB\ndocker:rc-dind                        sha256:a1e9f065ea4b31de9aeed07048cf820a64b8637262393b24a4216450da46b7d6    stale     3 days ago     3 days                        288.9MB\ndocker:rc                             sha256:f8ecea9dc16c9f6471448a78d3e101a3f864be71bfe3b8b27cac6df83f6f0970    stale     3 days ago     3 days                        270.9MB\n...\n25/957 listed, use --all flag to show all\n```\n\n## Contributing\n\nDocker wants to work with the community to make a tool that is useful and to\nensure that its UX is good. Remember that this is an experiment with the goal of\nincorporating the learnings into the Docker CLI so it has some rough edges and\nit's not meant to be a final product.\n\n### Feedback\n\nPlease leave your feedback in the\n[issue tracker](https://github.com/docker/hub-tool/issues)!\nWe'd love to know how you're using this tool and what features you'd like to see\nus add.\n\n### Code\n\nAt this stage of the project, we're mostly looking for feedback. We will accept\npull requests but these should be limited to minor improvements and fixes.\nAnything larger should first be discussed as an issue.\nIf you spot a bug or see a typo, please feel free to fix it by putting up a\n[pull request](https://github.com/docker/hub-tool/pulls)!\n\n## Building\n\n### Prerequisites\n\n- [Docker](https://www.docker.com/products/docker-desktop)\n- `make`\n\n### Compiling\n\nTo build for your current platform, simply run `make` and the tool will be\noutput into the `./bin` directory:\n\n```console\n$ make\ndocker build --build-arg GO_VERSION=1.16.3 --build-arg ALPINE_VERSION=3.12.0 --build-arg GOLANGCI_LINT_VERSION=v1.31.0-alpine --build-arg TAG_NAME= --build-arg GOTESTSUM_VERSION=0.5.2 --build-arg BINARY_NAME=hub-tool --build-arg BINARY=hub-tool . \\\n                --output type=local,dest=./bin \\\n                --platform local \\\n                --target hub\n[+] Building 3.7s (6/13)\n...\n =\u003e =\u003e copying files 22.10MB\n\n $ ls bin/\n hub-tool\n```\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fhub-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocker%2Fhub-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocker%2Fhub-tool/lists"}