Storing data locally in a container host filesystem is not suitable for use cases that require high-availability, failover, and ease of data backup. In order to provide storage abstraction, Docker provides volume drivers (plugins), which can be used to manage volumes that are hosted on remote machines or in cloud services. Unfortunately, at the time of writing this book, Windows containers running on-premises do not support the volume plugins that are currently available on Linux OS. This leaves us with three choices when it comes to using cloud storage in Windows containers:
- Use Docker for Azure and the Cloudstor volume plugin, which is a partially managed solution for running Docker in swarm mode on Azure VMs. In this book, we will not cover Docker for Azure as this solution is separate from Kubernetes, including Azure offerings...