Envisaging the Container as a Service

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.

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 14.04 base image, and configure a Apache HTTP Server to run as an executable, using the ENTRYPOINT instruction.

In Chapter 3, Building Images, we illustrated the concept of the Dockerfile to craft an Apache2 image on top of the Ubuntu 14.04 base image. Here, in this example, ...

Get Learning Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.