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

Configuring an overlay network with the Docker Engine swarm node


With the release of Docker 1.9, the multi-host and overlay network has become one of its primary feature. It enables private networks that can be established to connect multiple containers. We will be creating the overlay network on a manager node running in swarm cluster without an external key-value store. The swarm network will make the network available to the nodes in the swarm that require it for a service.

When we deploy the service that uses overlay network, the manager automatically extends the network to the nodes that are running the service tasks. Multi-host networking requires a store for service discovery, so now we will create a Docker machine to run this service.

Overlay network across multiple hosts

For the following deployment, we will be using Docker machine application that creates the Docker daemon on a virtualization or cloud platform. For the virtualization platform, we will be using VMware fusion as the...