In this recipe, we are going to publish our adderservice container that we built in the last recipe to our own private Docker registry.
Running a Docker registry
Getting ready
To get setup for this recipe we need to pull the official Docker registry container.
We do this by running the following:
$ docker pull registry
This recipe uses the code from the previous recipe, Building a container for a Node.js process.
If we haven't already done so, we'll need to build the the adderservice image from the previous recipe:
$ cd micro/adderservice
$ docker build -t adderservice
Finally, we need the openssl command-line tool available, which should be installed with our preferred package manager (for example, brew if we are...