Last active
April 16, 2018 20:01
-
-
Save DominicBreuker/b955399afe6dbfd446aed589572586da to your computer and use it in GitHub Desktop.
docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete all containers | |
docker rm $(docker ps -a -q) | |
# delete images without tags | |
docker rmi $(docker images | grep '^<none>' | awk '{print $3}') | |
# clean up volumnes | |
docker volume prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment