Book Image

Developing with Docker

By : Jaroslaw Krochmalski, Jarosław Krochmalski
Book Image

Developing with Docker

By: Jaroslaw Krochmalski, Jarosław Krochmalski

Overview of this book

This fast-paced practical guide will get you up and running with Docker. Using Docker, you will be able to build, ship, and run many distributed applications in real time. You will start with quickly installing Docker and start working with images and containers. We will present different types of containers and their applications, and show you how to find and build images. You will learn how you can contribute to the image repository by publishing different images. This will familiarize you with the image building process and you will be able to successfully run your programs within containers. By finishing this book, you will be well equipped in deploying your applications using Docker and will have a clear understanding of concepts, techniques, and practical methods to get it running in production systems.
Table of Contents (16 chapters)
Developing with Docker
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Summary


We've now covered how to open our containers to the external world - we can use networking and mounted volumes to be able to share data between containers and other hosts. Let's summarize what we have learned so far in this chapter. We know that containers from the same Docker host see each other automatically on the default bridge network, only if the container is bound to default bridge. We can make containers running on different hosts to communicate with each other. To do this, we need a multi-host overlay network. You will need Docker version 1.12 or later running in swarm mode, or alternatively, a key-value storage running. If the drivers provided by Docker are not enough, we can use the network plugins to further extend the networking data exchange. We went through the volume creation process and know that volumes persist data even through container restarts; we also know that changes to files on the volume are made directly, but they will not be included when you update an...