Skip to content

Instantly share code, notes, and snippets.

@jmelchio
Created June 25, 2018 02:01
Show Gist options
  • Save jmelchio/99614cc15850e8df2e6a5fd1939fed48 to your computer and use it in GitHub Desktop.
Save jmelchio/99614cc15850e8df2e6a5fd1939fed48 to your computer and use it in GitHub Desktop.
#!/bin/bash
docker images | grep '<none>' | awk '{print $3}' | xargs docker rmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment