Created
January 28, 2019 21:36
-
-
Save willm/c29872e96b1081333d3e84263661276f to your computer and use it in GitHub Desktop.
Reclaim docker disk space mac os
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
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