docker exec -t -i <container name> /bin/bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
And to remove the linked volumes :
docker rm -v $(docker ps -a -q)
docker ps
docker-compose ps
docker exec -t -i <container name> /bin/bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
And to remove the linked volumes :
docker rm -v $(docker ps -a -q)
docker ps
docker-compose ps