100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
DevOps

Docker Hub

By Docker, Inc.

BeginnerService5.9K learners

, used to store, share, and distribute Docker container images for applications and services.

Definition

Docker Hub is the default public container image registry operated by Docker, Inc., used to store, share, and distribute Docker container images for applications and services.

Overview

Docker Hub is where the `docker pull` and `docker push` commands connect to by default, hosting both official images maintained by Docker and upstream projects (such as base OS images, databases, and language runtimes) and community-published images from individual developers and organizations. Repositories on Docker Hub can be public or private, and each image is typically tagged with a version so that a Docker build or Kubernetes deployment can reference an exact, reproducible image. Docker Hub also supports automated builds that rebuild an image whenever its source repository changes, and webhooks that can trigger downstream actions such as a deployment pipeline. As container adoption grew, alternative registries emerged for different needs — GitHub Container Registry for repos already hosted on GitHub, and Amazon ECR for AWS-native workloads — but Docker Hub remains the most widely used default, especially for public base images referenced in Dockerfiles across the industry.

Key Features

  • Default public registry for docker pull and docker push
  • Official images for common base operating systems, languages, and databases
  • Public and private repositories with access control
  • Image tagging for versioned, reproducible references
  • Automated builds triggered by source repository changes
  • Vulnerability scanning for images (on supported plans)

Use Cases

Pulling official base images to build application containers
Publishing and sharing an application's container image publicly or privately
Automating image rebuilds when source code changes
Distributing versioned application images for Kubernetes deployments
Discovering pre-built images for common databases and services

Frequently Asked Questions