remove unused networks docker code example
Example 1: docker remove all volume
docker volume rm $(docker volume ls -q)
Example 2: how to remove a docker container
docker container rm [container id]
docker volume rm $(docker volume ls -q)
docker container rm [container id]