In this blog post, I will show you how to find the default location of a Docker volume.
My Docker environment is running on Linux CentOS 7.7 and I will start with creating a volume.
To create a volume on my Docker host, I will run the following command.
docker volume create vol001
The volume name is called vol001.
To check the location, I will run the following command with the name of the volume.
docker inspect vol001
Below, you can see the location which is
To get a list of all the Docker volumes on my host I will type.
docker volume list
Success! You're on the list.
Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.