Skip to content
Latchkey

What Is Docker Hub? The Default Public Registry

Docker Hub is the default registry Docker pulls from - home to official images, community images, and your own public or private repositories.

When you docker pull ubuntu without naming a registry, Docker fetches from Docker Hub. It is the largest public catalog of container images and the default destination for docker push of unqualified names. For CI, its rate limits and the trust level of images you pull both matter.

Official vs community images

Official images (ubuntu, node, postgres) are curated and maintained with Docker’s involvement. Community images live under a username (someuser/app). Official images are the safer default; vet community images before depending on them.

The implicit default

An unqualified reference like redis:7 expands to docker.io/library/redis:7. That convenience is also a footgun - be explicit about the registry in production and CI to avoid surprises.

Rate limits

Docker Hub limits anonymous and free-tier pulls per time window. CI fleets that pull frequently can hit 429 Too Many Requests, causing flaky failures. Authenticating or mirroring images mitigates this.

Mitigations in CI

  • Authenticate pulls to raise the limit.
  • Mirror or cache base images closer to your runners.
  • Pin tags and digests so pulls are predictable.

Docker Hub and managed runners

Rate-limit and transient pull errors are a classic source of CI flakiness. Managed runners (Latchkey) cache common base images and auto-retry registry blips, so a Docker Hub hiccup does not fail your build.

Key takeaways

  • Docker Hub is the default registry for unqualified image names.
  • Prefer official images and vet community ones.
  • Pull rate limits cause CI flakiness - authenticate, cache, or mirror.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →