Docker – remove all exited container (and associated volumes)

From http://stackoverflow.com/a/29474367/2179668

docker rm -v $(docker ps -q -f status=exited)
Advertisements