We laid a good foundation of the fundamentals of the Docker technology. In this section, we are going to focus on crafting an image with the HTTP service, launch the HTTP service inside the container using the crafted image, and then, demonstrate the connectivity to the HTTP service running inside the container.
Envisaging container as a service
Building an HTTP server image
In this section, we are going to craft a Docker image in order to install Apache2 on top of the Ubuntu 16.04 base image, and configure an Apache HTTP server to run as an executable, using the ENTRYPOINT instruction.
In Chapter 3, Building Images, we illustrated the concept of Dockerfile to craft an Apache2 image on top of the Ubuntu 16.04 base image. Here, in this example, we are going to extend...