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 Amazon Web Services driver


If you don't already have an Amazon Web Services (AWS) account, you should sign up for one at http://aws.amazon.com/; if you are new to AWS, then you will be eligible for their free tier http://aws.amazon.com/free/.

I would recommend reading through Amazon's getting started guide if you are unfamiliar with AWS before working through this section of the chapter; you can find the guide at http://docs.aws.amazon.com/gettingstarted/latest/awsgsg-intro/gsg-aws-intro.html.

The AWS driver is like the Digital Ocean driver in that it has some sensible defaults, Rather than going into too much detail about how to customize the EC2 instance launched by Docker Machine, we will stick with the defaults. For AWS driver, these are as follows:

  • amazonec2-region = us-east-1 (North Virginia)

  • amazonec2-ami = ami-fd6e3bea (Ubuntu 16.04)

  • amazonec2-instance-type = t2.micro

  • amazonec2-root-size = 16GB

  • amazonec2-security-group = docker-machine

Please note, if amazonec2-security-group does not...