- Docker Hub is a repository registry service provided by Docker Inc.
- It allows us to pull and push docker images to and from Docker Hub.
- We can treat this as a GitHub, where we fetch and push our source code, but in the case of Docker Hub, we download or publish our container images.
- It is a cloud-based online repository that stores both types of repositories, i.e., the pubic repository as well as the one free private repository.
- Public repositories are accessible to everyone, but the private one is accessible to the concerned owner of the repositories.
Features of Docker Hub
Image Repositories -This feature helps to find and pull images from the official libraries and community, and also manage, push to, and pull from private image libraries to that we have access.
Automated Builds — If any change in the source code has been pushed to source code repositories, it automatically detects and builds container images from GitHub or BitBucket and pushes them to Docker Hub.
Webhooks - It helps us trigger actions after a successful push to a repository.
Organizations — It allows us to create workgroups and push the repositories as a private one, which is available for use within our organization only.
GitHub and Bitbucket Integration — It allows integration with source code repositories such as GitHub and BitBucket.
How to Create a Docker ID?
In order to get the docker ID, we have to follow the following steps.
- Go to the Docker Hub signup page.
- Enter a username that is also your Docker ID.
- Your Docker ID must be between 4 and 30 characters long, and can only contain numbers and lowercase letters.
- Enter a unique, valid email address.
- Enter a password. Note that the password must be at least 9 characters.
- Complete the Captcha verification and then click Sign up.
- Docker sends a verification email to the address you provided.
- Verify your email address to complete the registration process.
- Once you register and verify your Docker ID email address, you can log in to Docker Hub.
- You can also log in through the CLI using the