docker stop all volumes code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: remove docker volume
docker-compose down
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
docker-compose up -d
Example 3: docker remove all volume
docker volume rm $(docker volume ls -q)