What is a Docker Registry? What is the Docker HUB?
Tags: docker, devops, programming, tutorial
Published: 2022-12-15 16:53:00

---
title: What is a Docker Registry? What is the Docker HUB?
published: true
description: A short explanation about the Docker Registry and the docker HUB.
tags: docker, devops, programming, tutorial
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
published_at: 2022-12-15 16:53 +0000
canonical_url: https://code-maven.com/docker-course-docker-registry
series: docker
---

A **Docker Registry** is a place where people can upload their Docker images so others can use those images. There are private and public registries. The main public registry is the [Docker Hub](https://hub.docker.com/) where you can upload public images for free and private images after certain payment.

## Docker registries by cloud providers

The big cloud providers also have their own container registries which are integrated with their cloud offering.

For example there is the [GCR](https://console.cloud.google.com/gcr/) **Google** Cloud Container Registry,
the [ECR](https://aws.amazon.com/ecr/) **AWS** Elastic Container Registry and the [Azure](https://azure.microsoft.com/en-us/products/container-registry/#overview)  Container Registry.

The smaller players also offer it, for example there is the **Digital Ocean** [Container Registry](https://www.digitalocean.com/products/container-registry).

## Search in the Docker HUB

In these registries you can search for various Docker images.

For example visit the [Docker Hub](https://hub.docker.com/) and search for `mongodb`. You'll find a number of images. You can download them and use them and you will not have to worry yourself how to create a Docker image for many of the common services.

Then search for `Wordpress`. You'll find images that will make it easy to run Wordpress on your computer either locally or on a server. You won't have to worry much about installation and configuration and relatively easily you'll be able to upgrade it to newer versions.

## Upload and share your Docker images

You can also create your account on [Docker Hub](https://hub.docker.com/) and upload your own Docker images. As long as the images are public you don't have to pay and I think you can also have one private image, but if you'd like to have more than there is some fee involved.

The idea would be that you create and upload an image and then later you, some other members of your team, or even on your production server you can download use that image.

Docker Hub is for the general use, but if you use one of the cloud providers then probably you should also use their Docker registry.

## Set up your own registry

If neither of those choices are good for you, for example because you'd like to have all the images in-house, you can [deploy your own registry server](https://docs.docker.com/registry/deploying/). It can be on premise, in the offices of your company or you can put it on some server elsewhere.

That's all for now about Docker registries. We are going to see them later on as all the images we are using are based on some other image that is in the Docker hub.

## Hello World!

The next episode will cover the `Hello World!` of Docker containers.

## The same in video:

{% youtube rkQc84L1qoI %}