Setting up the Docker Hub
In the previous chapter, we played with a local Docker registry. This section will show us how to set up and use the Docker Hub to publish the Docker containers. This is a convenient mechanism to globally access the Docker images. Later in this chapter, the Docker images will be published to the Docker Hub from the local machine and downloaded from the EC2 instances.
Perform the steps mentioned in the following link for setting up a public Docker Hub account and a repository:
https://docs.docker.com/engine/installation/
The registry, in this case, act as the microservices repository where all the Dockerized microservices will be stored and accessed. This is one of the capabilities explained in the microservices capability ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access