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)

Docker for Amazon Web Services


Docker for AWS is a Swarm cluster which has been tuned by Docker to run in Amazon Web Services.

Note

AWS CloudFormation is a templating engine which allows you to define your AWS infrastructure and resources in a controllable and predictable fashion.

The AWS CloudFormation template can be found at:

https://editions-us-east-1.s3.amazonaws.com/aws/stable/Docker.tmpl

As you can see there is quite a lot to it, the image below is a visualization of the template above – while you may not be able to see all the content in the image you should get an idea of the complexity of the CloudFormation template supplied by Docker.

As you can see, the template does all the heavy lifting for you meaning you don't really have to do much apart from one thing, create an SSH key. To do this login to the AWS console at https://console.aws.amazon.com/, select EC2from the Services menu at the top of the screen, once the EC2 dashboard opens click on Key Pairs in the left-hand side menu.

Here...