Skip to content

Instantly share code, notes, and snippets.

@ccondry
Created March 28, 2021 09:30
Show Gist options
  • Save ccondry/3863bd354c3ae727b1e59132478bc460 to your computer and use it in GitHub Desktop.
Save ccondry/3863bd354c3ae727b1e59132478bc460 to your computer and use it in GitHub Desktop.
remove all docker images
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/*
@ccondry
Copy link
Author

ccondry commented Mar 28, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment