Created
October 15, 2018 12:01
-
-
Save yamyamyuo/1b647912142ec305c478151aea4cfeeb to your computer and use it in GitHub Desktop.
docker remove image with angry
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
#!/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