sajad torkamani
docker volume inspect <volume-name>

Example output:

 {
  "CreatedAt": "2022-10-23T16:52:33Z",
  "Driver": "local",
  "Labels": {},
  "Mountpoint": "/var/lib/docker/volumes/myvol/_data",
  "Name": "myvol",
  "Options": {},
  "Scope": "local"
}

If you’re using Docker for Desktop on macOS, you’ll need to SSH into the Docker VM to access Mountpoint.

Tagged: Docker