Interview Prep/Docker/Volumes & Bind Mounts

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
All Docker questions Roadmap: Docker & containers

More on Volumes & Bind Mounts