The docker volume command permits you to manage the Docker volumes via the command-line interface. There are five commands:
docker volume create
docker volume inspect
docker volume ls
docker volume prune
docker volume rm
The docker volume create, docker volume rm and docker volume ls commands are effectively used to manage the docker volume by Docker Engine. The behaviors are quite similar to those of the networks, but for volumes. The create command will create a new volume with some options allowed. The ls command lists all volumes and the rm command will remove the requested volume.