Sharing Storage across Cluster Nodes

Let's see how to share volumes between cluster nodes using external storage systems.

Integrating external storage systems with Docker makes it possible to share volumes between cluster nodes. These external systems can be cloud storage services or enterprise storage systems in your on-premises data centers.

Single storage example

As an example, a single storage LUN or NFS share can be presented to multiple Docker hosts, allowing it to be used by containers and service replicas no matter which Docker host they’re running on. The figure below shows a single external shared volume being presented to two Docker nodes. These Docker nodes can then make the shared volume available to either, or both containers.

Get hands-on with 1200+ tech skills courses.