Chapter 5. Docker Use Cases
In this chapter, we will cover the following recipes:
- Testing with Docker
- Doing CI/CD with Shippable and Red Hat OpenShift
- Doing CI/CD with Drone
- Setting up PaaS with OpenShift Origin
- Building and deploying an app on OpenShift v3 from the source code
- Configuring Docker as a hypervisor driver for Openstack
Introduction
Now we know how to work with containers and images. In the last chapter, we also saw how to link containers and share data between the host and other containers. We also saw how containers from one host can communicate with other containers from other hosts.
Now let's look at different use cases of Docker. Let's list a few of them here:
- Quick prototyping of ideas: This is one of my favorite use cases. Once we have an idea, it is very easy to prototype it with Docker. All we have to do is set up containers to provide all the backend services we need and connect them together. For example, to set up a LAMP application, get the web and DB...