Last active
October 7, 2016 17:28
-
-
Save warmwaffles/4e492b0ea97bace8b374fc2a4d23e604 to your computer and use it in GitHub Desktop.
This file contains 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
# Remove exited docker containers | |
docker rm $(docker ps -q -f 'status=exited') | |
# Remove dangling containers | |
docker rmi $(docker images -q -f "dangling=true") | |
# remove dangling volumes | |
# http://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device | |
docker volume rm $(docker volume ls -qf dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment