Skip to content

Instantly share code, notes, and snippets.

@yamyamyuo
Created October 15, 2018 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamyamyuo/1b647912142ec305c478151aea4cfeeb to your computer and use it in GitHub Desktop.
Save yamyamyuo/1b647912142ec305c478151aea4cfeeb to your computer and use it in GitHub Desktop.
docker remove image with angry
#!/bin/bash
docker rm $(docker ps -a -q)
docker rmi $(docker images -q)
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
docker images | grep "superset" | awk '{print $3}' | xargs docker rmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment