Getting ready
We will be using the Docker container engine for this recipe, so we should have this installed on our system. If we don't yet have this installed, we can head over to http://www.docker.com and install the appropriate binary for our system. Docker supports Linux, Windows, and Mac natively.
We can check that Docker was installed successfully by opening a shell and running the following command:
$ docker run hello-world
This command will pull the hello-world image from Docker Hub – a central repository of public Docker images, create a new container from that image, and run it. The executable within the container will output hello from Docker along with some help text.
We also need the code from Chapter 10, Building ...