Launching Docker hosts in the cloud using Docker Machine
In this section, we are going to take a look at just one of the public cloud drivers supported by Docker Machine. As already mentioned, there are plenty available, but part of the appeal of Docker Machine is that it offers consistent experiences, so there are not too many differences between the drivers.
We are going to be launching a Docker host in DigitalOcean using Docker Machine. To do this, we need an application programming interface (API) access token with the necessary permissions to access and launch resources within your DigitalOcean account. Rather than explaining how to generate one here, you can follow the instructions at https://www.digitalocean.com/help/api/.
Important note
Launching a Docker host using the API token will incur a cost; ensure you keep track of the Docker hosts you launch. Details on DigitalOcean's pricing can be found at https://www.digitalocean.com/pricing/. Also, keep your API token...