Docker Hub

In this lesson, you will learn how to publish a private image to Docker Hub.

Docker Hub is a Docker Registry offered by Docker Inc. It allows unlimited storage of public images, and paid plans to host your private images. A public image may be accessed by others, which is precisely what you want when you make your software widely available - less for internal enterprise software.

To publish images on Docker Hub, you need to create an account. I’m going to create one. For this, I head to and click the Sign Up link. The Docker ID I select will be the prefix of images I publish to the Docker Hub.

When creating your account, make sure you select the right ID since it will be part of your images’ names. Suppose your ID name is short-name, your images should be tagged:

Get hands-on with 1000+ tech skills courses.