Summary

In this chapter, we took a deep dive into data volumes and storage driver concepts related to Docker. We discussed troubleshooting the data volumes with the help of the four approaches, as well as their pros and cons. The first case of storing data inside the Docker container is the most basic case, but doesn't provide the flexibility to manage and handle data in a production environment. The second and third cases are about storing the data using data-only containers or directly on the host. These cases help to provide reliability, but still depend on the availability of host. The fourth case, which is about using a third-party volume plugin such as Flocker or Convoy, solves all of the preceding issues by storing the data in a separate ...

Get Troubleshooting Docker 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.