What are volume drivers and give examples?
AdvancedConceptVolumes & Bind Mounts
Answer
Volume plugins let volumes live on other storage: local (default, can mount NFS/CIFS via options), REX-Ray, Portworx, rclone, AWS EFS via NFS options. Example NFS-backed local volume:
docker volume create --driver local \
--opt type=nfs --opt o=addr=10.0.0.5,rw,nfsvers=4 --opt device=:/exports/data nfsdata
More on Volumes & Bind Mounts
What are the three ways to persist or share data with a container?BeginnerVolume vs bind mount: when do you pick which?BeginnerWhat is the difference between `-v` and `--mount`?BeginnerWhat is an anonymous volume and how do you find leftovers?IntermediateHow does a new named volume get populated?IntermediateHow do you back up and restore a named volume?Intermediate