Skip to content

Instantly share code, notes, and snippets.

@micrub
Last active April 20, 2020 14:40
Show Gist options
  • Save micrub/1baa693b458e3df045c1d05861ab1587 to your computer and use it in GitHub Desktop.
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>
#!/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