For a basic listing of volumes in use by the container my-container
:
$ lsdvol my-container
The container must have the /var/run/docker.sock
bound in order for
the program to function properly.
For a basic listing of volumes in use, execute the following from within a Docker container:
$ lsdvol
If your docker.sock
is in a non-standard location, either when bound
in a container or on a Docker host, please specify the location as:
$ lsdvol --docker-socket /my/other/docker.socket
For other options, launch with --help
.