Docker is a Linux container implementation that enables the creation of light weight portable development and production environments. These environments can be updated incrementally. Docker achieves this by leveraging containment principles like cgroups and Linux namespaces along with Overlay filesystem based portable images. Docker provides the networking primitives that allow administrators to specify how different containers network with each application and connect each of its components, then distribute them across a large number of servers and ensure coordination between them irrespective of the host or VM they are running in.
This book will show you how to create, deploy, and manage a virtual network for connecting containers spanning single or multiple hosts.
What you will learn
- Get to know the basics of networking and see how Docker networking works
- Expose the strengths and weaknesses of the current Docker network implementation and third party landscape
- Understand Docker networking spanning multiple containers over multiple hosts through practical examples
- Observe the pitfalls of Docker networking and how to overcome them
- Learn how Docker networking works for Docker Swarm and Kubernetes
- Configure Networking using Docker’s container network model (CNM)
- Explore OpenvSwitch to connect contain
- Set up, configure, and monitor a virtual network of containers using a bridge network and virtual switches
- Master the skill of networking Docker Containers using frameworks such as Kubernetes, Docker Swarm, and Mesosphere
- Acquire hands-on experience through practical examples of Docker networking spanning multiple containers, over multiple hosts, clubbed with various frameworks