Created
February 25, 2017 21:41
-
-
Save zsim0n/d768976559464ce86e22ebfef6a18850 to your computer and use it in GitHub Desktop.
Docker cleanup for mac
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
docker rm $(docker ps -a -q) | |
docker rmi $(docker images -q) | |
docker volume rm $(docker volume ls |awk '{print $2}') | |
rm -rf ~/Library/Containers/com.docker.docker/Data/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment