Book Image

Troubleshooting Docker

By : Vaibhav Kohli, Rajdeep Dua, John Wooten
Book Image

Troubleshooting Docker

By: Vaibhav Kohli, Rajdeep Dua, John Wooten

Overview of this book

You?re pro Docker? You?ve read all about orchestration with Docker in books? Now learn how to troubleshoot Docker in practice. Gain all the tools to safely see Docker in action with this 2017 book.
Table of Contents (17 chapters)
Troubleshooting Docker
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Free Chapter
1
Understanding Container Scenarios and an Overview of Docker

Troubleshooting - AWS ECS deployment


An EC2 instance can be deployed manually and Docker can be configured on it, but ECS is a group of EC2 instances managed by ECS. ECS will take care of deploying Docker containers across the various hosts in a cluster and integrating with other AWS infrastructure services.

In this section, we'll be covering some of the basic steps to set up ECS on AWS, which will help to troubleshoot and bypass basic configuration errors:

  • Creating an ECS cluster

  • Creating an ELB load balancer

  • Running Docker containers in the ECS cluster

  • Updating Docker containers in the ECS cluster

  1. Launch the EC2 Container Service listed under Compute from the AWS Console:

  2. Click on the Get Started button:

  3. On the next screen, select both options: deploy a sample application, create, and manage a private repository. A private repository is created for the EC2 service and secured by AWS. It requires an AWS login to push images:

  4. Provide the repository name, and we'll be able to see the repository...