Chapter 4. Network and Data Management for Containers

In this chapter, we will cover the following recipes:

  • Accessing containers from outside
  • Managing data in containers
  • Linking two or more containers
  • Developing a LAMP application by linking containers
  • Networking of multihost container with Flannel
  • Assigning IPv6 addresses to containers

Introduction

Until now, we have worked with a single container and accessed it locally. But as we move to more real world use cases, we will need to access the container from the outside world, share external storage within the container, communicate with containers running on other hosts, and so on. In this chapter, we'll see how to fulfill some of those requirements. Let's start by understanding Docker's default networking ...

Get DevOps: Puppet, Docker, and Kubernetes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.