Book Image

Docker Bootcamp

By : Russ McKendrick, Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh
Book Image

Docker Bootcamp

By: Russ McKendrick, Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh

Overview of this book

<p>Docker allows you to create a robust and resilient environment to generate portable, composable, scalable, and stable application containers.</p> <p>The book starts by installing the core Docker Engine on MacOS, Windows 10 and Linux desktops. We will then define multi-container applications and understand the advantages of using containers locally. Once this is done, we will deploy containers on a single Docker host which is publicly accessible. Furthermore, we will learn how to deploy and configure a Docker Swarm cluster and explore networking and storage third-party plugins to extend the core Docker functionality. Towards the end, the book will demonstrate how to monitor and troubleshoot day-to-day problems in addition to various real world examples of container deployments.</p>
Table of Contents (15 chapters)

The Microsoft Azure driver


As you may have noticed from the terminal and browser screenshots, so far, we have been using Docker for Mac; let's look at the Microsoft Azure driver using Docker for Windows.

First of all, you will need a Microsoft Azure account; if you don't already have one, you can sign up at https://azure.microsoft.com/. Once you have your account, the only piece of information you need to get started is your subscription ID; you can find this in the billing section of the portal.

Once you have your subscription ID, you can authenticate Docker Machine with Azure, to do this enter the following command, making sure to replace the subscription ID with your own:

docker-machine.exe create --driver azure --azure-subscription-id xxxxxxx-85a6-4ab4-b5c4-c18b54e014
98 azuretest

You will receive an activation code to authorise Docker Machine; go to https://aka.ms/devicelogin/ and enter the code you have been given:

Clicking Continue will take you a page which then shows you the permissions...