Book Image

Learning Docker

By : Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh, Vinod kumar Singh, Jeeva Chelladhurai, Pethuru Raj Chelliah
Book Image

Learning Docker

By: Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh, Vinod kumar Singh, Jeeva Chelladhurai, Pethuru Raj Chelliah

Overview of this book

Table of Contents (18 chapters)
Learning Docker
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 7. Sharing Data with Containers

Do one thing at a time and do it well, is one of the successful mantras of the information technology (IT) sector for quite a long time now. This widely used tenet fits nicely with the building and exposing of Docker containers too and is being prescribed as one of the best practices to avail the originally envisaged benefits of the Docker-inspired containerization paradigm. That is, inscribe a single application along with its direct dependencies and libraries inside a Docker container in order to ensure the container's independence, self-sufficiency, and maneuverability. Let's see why containers are that important:

  • The temporal nature of containers: The container typically lives as long as the application lives and vice versa. However, this has some negative implications for the application data. It is natural that applications go through a variety of changes in order to accommodate both businesses, as well as technical changes, even in their production...