Installing the required software with Docker
Docker is the most widely-used framework for implementing operating system-level virtualization. This technology allows you to have an independent container: a layer that is lighter than a virtual machine but still allows you to compartmentalize software. This mostly isolates all processes, making it feel like each container is a virtual machine.
Docker works quite well at both extremes of the development spectrum: it’s an expedient way to set up the content of this book for learning purposes and could become your platform of choice for deploying your applications in complex environments. This recipe is an alternative to the previous recipe.
However, for long-term development environments, something along the lines of the previous recipe is probably your best route, although it can entail a more laborious initial setup.
Getting ready
If you are on Linux, the first thing you have to do is install Docker. The safest solution...