Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
//remove old unused containers
docker rm -f $(docker ps -a -q)
// remove untagged images
docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment