Docker Hub is a cloud-based registry service which allows you to link to code repositories, build your images and test them, stores manually pushed images, and links to Docker Cloud so you can deploy images to your hosts. It provides a centralized resource for container image discovery, distribution and change management, user and team collaboration, and workflow automation throughout the development pipeline.
Log in to Docker Hub and Docker Cloud using your free Docker ID.
Docker Hub provides the following major features:
To explore Docker Hub, you’ll need to create an account by following the directions in Your Docker ID.
Note: You can search for and pull Docker images from Hub without logging in, however to push images you must log in.
Your Docker ID gives you one private Docker Hub repository for free. If you need more private repositories, you can upgrade from your free account to a paid plan. To learn more, log in to Docker Hub and go to Billing & Plans, in the Settings menu.
You can find public repositories and images from Docker Hub in two ways. You can
“Search” from the Docker Hub website, or you can use the Docker command line
tool to run the
docker search command. For example if you were looking for an
ubuntu image, you might run the following command line search:
$ docker search ubuntu
Both methods list the available public repositories on Docker Hub which match the search term.
Private repositories do not appear in the repository search results. To see all the repositories you can access and their status, view your “Dashboard” page on Docker Hub.
You can find more information on working with Docker images in the Docker userguide.
Docker Hub contains a number of Official Repositories. These are public, certified repositories from vendors and contributors to Docker. They contain Docker images from vendors like Canonical, Oracle, and Red Hat that you can use as the basis to building your applications and services.
With Official Repositories you know you’re using an optimized and up-to-date image that was built by experts to power your applications.
Note: If you would like to contribute an Official Repository for your organization or product, see the documentation on Official Repositories on Docker Hub for more information.
Docker Hub provides a place for you and your team to build and ship Docker images.
You can configure Docker Hub repositories in two ways:
You can create public repositories which can be accessed by any other Hub user, or you can create private repositories with limited access you control.