Useful little docker commands
When working with docker I stumbled over a few useful docker commands for cleaning up.
Remove all docker containers:
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Remove all docker images:
docker rmi $(docker images -q)