Docker NFS volume plugin

The next approach is taking advantage of a cluster-based filesystem, in this case NFS. This is a very popular option for on-premises implementations where you have full control over the network. For cloud implementations where your noisy neighbors may cause network latency, you should consider an alternative solution designed for a cloud platform. We'll talk about some options in the next section, Other volume storage solutions.

In order to use the NFS volume plug-in from Docker, you will have to have the NFS client software set up on each Docker node. 

The following code block shows an example of installing the NFS client software using the nfs-utils package on Centos:7.5:

## FOR EACH CLUSTER NODE ###******************************************* ...

Get Mastering Docker Enterprise 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.