February 2019
Intermediate to advanced
240 pages
5h 25m
English
If we’re going to deploy our application in production, we need to have somewhere to deploy it to. That means, infrastructure: machine instances capable of running code.
As we saw in Chapter 11, The Production Landscape, there are a number of tools available for creating and configuring our infrastructure. However, since this is a book about Docker, we’re going to stick with Docker’s own tool—Docker Machine—for handling this.
Docker Machine is a command-line tool that can create Docker-ready instances for us. It uses the adapter pattern, providing a number of different drivers[113] capable of creating instances on different platforms. This means we can use similar commands to create instances, whether they’re virtual instances ...