Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am scottw on github.
  • I am bif (https://keybase.io/bif) on keybase.
  • I have a public key ASAL0Fh238SsllNmd1WTWoU62V1PaGYiFjuTFo28OdI6vQo

To claim this, I am signing this object:

@scottw
scottw / gist:9ad2637cfab67c16f5018559d97e20fb
Created May 26, 2016 14:39
Purges unreachable Docker image layers. Add to ~/.bash_profile, run as needed.
docker-image-purge() {
docker images -q -f dangling=true | xargs docker rmi
}