Till now (docker version 1.12) we are using the following command to delete all the running containers(also, if we want to delete the volumes, we can do that manually using it's respective tag -v in the following command),
Delete all Exited Containers
docker rm $(docker ps -q -f status=exited)
Delete all Stopped Containers
docker rm $(docker ps -a -q)