Created
September 20, 2017 06:47
-
-
Save shau-lok/7b67e78832772dfc03336d890e1b78e0 to your computer and use it in GitHub Desktop.
docker rm unstage images
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
# delete ^none image | |
docker rmi $(docker images | grep "^<none>" | awk '{print $3}') | |
➜ ~ docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
test latest 153f83a4d28f 3 minutes ago 935MB | |
<none> <none> 780c3cd2f334 10 minutes ago 934MB | |
<none> <none> b9e62dde27c7 29 minutes ago 934MB | |
<none> <none> 33629fbd9790 About an hour ago 934MB | |
<none> <none> e46957bb395e About an hour ago 927MB | |
<none> <none> 99cd8069630c 3 hours ago 927MB | |
<none> <none> a08b7b3ab86f 3 hours ago 918MB | |
<none> <none> 17820a7a65e2 4 hours ago 917MB | |
<none> <none> 6ee5e4a53d77 6 hours ago 917MB | |
star_api test 21e2107264ad 18 hours ago 917MB | |
mysql latest b4e78b89bcf3 22 hours ago 412MB | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment