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.
docker volume ls
“docker volume ls” will list all the docker volumes which are avalible in the docker host and also it will list the volume which are managed out side of the docker host as shown in the image below.
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.