Last active
April 20, 2020 14:40
-
-
Save micrub/1baa693b458e3df045c1d05861ab1587 to your computer and use it in GitHub Desktop.
docker cmd: get ids list of redundant (probably) images that have been tagged as '<none>
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
#!/bin/sh | |
docker image ls | grep 'none' | cut -c 48- | cut -c -12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment