Image

Run a Self-Hosted Container Registry

Docker Hub provides a free, easy to use way of distributing your container images. However, there are situations where sharing your container images is either not ideal, bad practice, or against legal requirements. In those cases, you will want to use a private registry instead.

In this tutorial, we'll:

  • Describe what a private registry is.
  • Learn how to run Docker's own registry image.
  • Learn how to push and pull images from the self-hosted registry.
  • Outline the production concerns for the registry image.
  • List other options for self-hosting your own images.