Creating Machines
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access