Sharing Storage across Cluster Nodes
Let's see how to share volumes between cluster nodes using external storage systems.
Integrating Docker with external storage systems lets you present shared storage to multiple nodes so that the containers running on different nodes can share the same volumes. These external systems can be cloud storage services or enterprise storage systems in your on-premises data centers.
Single storage example
For example, you can present a single storage LUN or NFS share (shared volume) to multiple Docker hosts so that any container on those hosts can access and share the volume. Figure 15.4 shows an external storage system presenting a shared volume to two Docker nodes. The Docker nodes use the appropriate driver for the external system to make the shared volume available to either or both containers.
Get hands-on with 1300+ tech skills courses.