Created
April 11, 2017 17:11
-
-
Save ashic/85f4e498888cf9004be465917ce984b8 to your computer and use it in GitHub Desktop.
Delete all images created today
This file contains hidden or 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
| docker rmi $(docker images --all --format "{{.ID}}\t{{.CreatedAt}}\t{{.Size}}" | grep `date +%Y-%m-%d` | awk '{print $1}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment