What is the Docker Volume Driver Plugin?
It’s a piece of code or software that is responsible for creating storage and attaching the storage to the container.
Types Of Docker Volume Driver Plugins are Available
In docker we mainly use two docker driver volume plugins, They are.
1. Local Driver (Steps To Create Custom Docker Volume Using Local Driver)
Follow the steps below to use the local driver to create the volume using a local driver.
Step 1: Use the below command to create the docker volume using a local driver.
docker create volume -d local <Name Of the Volume>
“LOCAL” name of the plugin and give the name of volume that you want. In the above image you can see the volume with my coustm name GFG-Volume was Created.
2. REX-RAY Driver
To learn more about the docker rex-ray plugin please refer to the the following article.
How To Use Bind Mount In Docker?
Bind mounts and the host filesystem are tightly related. The host filesystem is immediately impacted by changes made to a bind mount, and vice versa. When you use a bind mount to remove a container, the related data stays on the host.
Contact Us