Docker volumes are used for persistent storage. They represent the address of a specific storage location
| Commands | Description |
|---|---|
| docker volume ls | Get all the volumes |
| docker volume create <volume name> | For creating docker volume |
| docker volume inspect <volume name> | For inspect the specific volume |
| docker volume prune | Remove unused local volumes |
| docker volume rm <volume name> | Remove one or more volume |
| docker run -dit --name <container name> -v <new volume name>:<Container path> <image name> | For attaching volume to existing running container |