Last active
October 20, 2016 15:50
-
-
Save otaviosoares/66741c849930f907d46ca900955a91c0 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
# Clears all the unused images | |
sudo docker images --format "{{.Repository}}:{{.Tag}}" | xargs sudo docker rmi | |
sudo docker rm $(sudo docker ps -a -q) && sudo docker rmi $(sudo docker images -q) && sudo docker ps -a | cut -c-12 | xargs sudo docker rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment