Docker: delete all stopped containers

This command deletes all stopped docker containers. Caution! This command will fail when trying to delete still-running containers.

alias ddsc='docker rm $(docker ps -a -q)'

Originally published at Adrià Galín.