Docker Hub

MrDevSecOps
2 min readOct 1, 2021
  • 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.

  1. Go to the Docker Hub signup page.
  2. Enter a username that is also your Docker ID.
  3. Your Docker ID must be between 4 and 30 characters long, and can only contain numbers and lowercase letters.
  4. Enter a unique, valid email address.
  5. Enter a password. Note that the password must be at least 9 characters.
  6. Complete the Captcha verification and then click Sign up.
  7. Docker sends a verification email to the address you provided.
  8. Verify your email address to complete the registration process.
  9. Once you register and verify your Docker ID email address, you can log in to Docker Hub.
  10. You can also log in through the CLI using the docker login command.

--

--

MrDevSecOps

Integrating security into the software development lifecycle.