Skip to content

Instantly share code, notes, and snippets.

@Abby805
Created November 12, 2018 21:18
Show Gist options
  • Save Abby805/743dfb801cf2b192e8a56fed0dc72e93 to your computer and use it in GitHub Desktop.
Save Abby805/743dfb801cf2b192e8a56fed0dc72e93 to your computer and use it in GitHub Desktop.
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
docker system prune -a
docker rm -vf $(docker ps -a -q)
docker rmi -f $(docker images -a -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment