Storing images on DockerHub

DockerHub provides a global repository of images. In Chapter 10, Building Microservice Systems, we implicitly used the global repository when we pulled MongoDB and Redis images. We also made use of it in the previous recipe, Building a container for a Node.js process, when we fetched the Docker Registry container.

In this recipe, we are going to push our adderservice container to DockerHub.