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.

Similar Reads

What is Docker Volume?

Applications can be run independently using Docker containers. By default, when a container is deleted or recreated, all of the modifications (data) within it are lost. Docker volumes and bind mounts can be useful if we wish to save data in between runs. In order to protect data created by the running container, Docker volumes are file systems mounted on Docker containers....

What Is Bind Mount In Docker?

Bind mounts may be stored anywhere on the host system. They may even be important system files or directories. Non-Docker processes on the Docker host or a Docker container can be modified at any time. You can create a file on the host system and attach it to the container where you want to maintain the state of the Docker. You can also use the bind mount for stateful applications....

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....

How To List The Docker Volumes?

You can list all the docker volumes that are available in the docker by using a simple command as shown below....

Steps To Create And Attach Bind Mount To The Docker Container

Follow the steps Mentioned below to create and attach the bind mount to docker container....

Where are Docker bind mounts stored?

Docker bind mounts are kept directly on the filesystem of the host computer. A bind mount allows you to link a particular file or directory on the host to a directory inside the container. Any modifications made within the container are also reflected in the host’s connected location....

Docker Bind Mount – FAQ’s

What are two differences between a docker volume and a bind mount?...

Contact Us