Learning Docker Networking

Become a proficient Linux administrator by learning the art of container networking with elevated efficiency using Docker

Learning Docker Networking

This ebook is included in a Mapt subscription
Rajdeep Dua, Vaibhav Kohli, Santosh Kumar Konduri

4 customer reviews
Become a proficient Linux administrator by learning the art of container networking with elevated efficiency using Docker
$0.00
$31.99
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785280955
Paperback176 pages

Book Description

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.

Table of Contents

Chapter 1: Docker Networking Primer
Networking and Docker
The docker0 bridge
Docker OVS
Unix domain socket
Linking Docker containers
What's new in Docker networking?
The Docker CNM model
Summary
Chapter 2: Docker Networking Internals
Configuring the IP stack for Docker
Configuring a DNS server
Configuring the Docker bridge
Overlay networks and underlay networks
Summary
Chapter 3: Building Your First Docker Network
Introduction to Pipework
Multiple containers over a single host
Open vSwitch
Networking with overlay networks – Flannel
Summary
Chapter 4: Networking in a Docker Cluster
Docker Swarm
Kubernetes
Mesosphere
Summary
Chapter 5: Security and QoS for Docker Containers
Filesystem restrictions
Linux capabilities
Securing containers in AWS ECS
Understanding Docker security I – kernel namespaces
Understanding Docker security II – cgroups
Using AppArmor to secure Docker containers
Summary
Chapter 6: Next Generation Networking Stack for Docker: libnetwork
Goal
Design
CNM objects
Driver
Using overlay network with Vagrant
Overlay network with Docker Machine and Docker Swarm
Creating containers using an overlay network
CNI plugin
Project Calico's libnetwork driver
Summary

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

Authors

Table of Contents

Chapter 1: Docker Networking Primer
Networking and Docker
The docker0 bridge
Docker OVS
Unix domain socket
Linking Docker containers
What's new in Docker networking?
The Docker CNM model
Summary
Chapter 2: Docker Networking Internals
Configuring the IP stack for Docker
Configuring a DNS server
Configuring the Docker bridge
Overlay networks and underlay networks
Summary
Chapter 3: Building Your First Docker Network
Introduction to Pipework
Multiple containers over a single host
Open vSwitch
Networking with overlay networks – Flannel
Summary
Chapter 4: Networking in a Docker Cluster
Docker Swarm
Kubernetes
Mesosphere
Summary
Chapter 5: Security and QoS for Docker Containers
Filesystem restrictions
Linux capabilities
Securing containers in AWS ECS
Understanding Docker security I – kernel namespaces
Understanding Docker security II – cgroups
Using AppArmor to secure Docker containers
Summary
Chapter 6: Next Generation Networking Stack for Docker: libnetwork
Goal
Design
CNM objects
Driver
Using overlay network with Vagrant
Overlay network with Docker Machine and Docker Swarm
Creating containers using an overlay network
CNI plugin
Project Calico's libnetwork driver
Summary

Book Details

ISBN 139781785280955
Paperback176 pages
Read More
From 4 reviews

Read More Reviews