Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

hub-tool

> DevOps
Open source

Docker Hub experimental CLI tool

372 stars0 likes1 views
WebsiteGitHub

About

Docker Hub experimental CLI tool

Docker Hub Tool

:warning: This tool is a Docker experiment to build a Docker Hub CLI tool. The intention of this project is to get user feedback and then to add this functionality to the Docker CLI.

The Docker Hub Tool is a CLI tool for interacting with the Docker Hub. It makes it easy to get information about your images from the terminal and to perform Hub maintenance tasks.

Get started

Prerequisites

  • Docker installed on your system
  • A Docker Hub account

Install

  • Download the latest release for your platform from here
  • Extract the package and place the hub-tool binary somewhere in your PATH

OR

  • Install from sources: GO111MODULE=on go get github.com/docker/hub-tool

Login to Docker Hub

Login to the Docker Hub using your username and password:

bash
hub-tool login yourusername

Note: When using a personal access token (PAT), not all functionality will be available.

Listing tags

…

Contributing

Docker wants to work with the community to make a tool that is useful and to ensure that its UX is good. Remember that this is an experiment with the goal of incorporating the learnings into the Docker CLI so it has some rough edges and it's not meant to be a final product.

Feedback

Please leave your feedback in the issue tracker! We'd love to know how you're using this tool and what features you'd like to see us add.

Code

At this stage of the project, we're mostly looking for feedback. We will accept pull requests but these should be limited to minor improvements and fixes. Anything larger should first be discussed as an issue. If you spot a bug or see a typo, please feel free to fix it by putting up a pull request!

Building

Prerequisites

  • Docker
  • make

Compiling

To build for your current platform, simply run make and the tool will be output into the ./bin directory:

bash
$ make
docker 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 . \
                --output type=local,dest=./bin \
                --platform local \
                --target hub
[+] Building 3.7s (6/13)
...
 => => copying files 22.10MB

 $ ls bin/
 hub-tool

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goclicontainerdockerhub

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理